Skip to content

Commit

Permalink
Update webpack-dev-server and add clientLogLevel option
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Sep 18, 2016
1 parent 801c200 commit 1220683
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 3 additions & 0 deletions scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1220683

Please sign in to comment.