Commit 12206832 authored by Dan Abramov's avatar Dan Abramov
Browse files

Update webpack-dev-server and add clientLogLevel option

parent 801c2002
No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
......@@ -75,7 +75,7 @@
"style-loader": "0.13.1",
"url-loader": "0.5.7",
"webpack": "1.13.2",
"webpack-dev-server": "1.15.2",
"webpack-dev-server": "1.16.0",
"whatwg-fetch": "1.0.0"
},
"devDependencies": {
......
......@@ -251,6 +251,9 @@ function addMiddleware(devServer) {
function runDevServer(port, protocol) {
var devServer = new WebpackDevServer(compiler, {
// Silence WebpackDevServer's own logs since they're generally not useful.
// It will still show compile warnings and errors with this setting.
clientLogLevel: 'none',
// By default WebpackDevServer also serves files from the current directory.
// This might be useful in legacy apps. However we already encourage people
// to use Webpack for importing assets in the code, so we don't need to
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment