Skip to content

Commit 0ae3b0b

Browse files
Jean-Pierre SierensJean-Pierre Sierens
authored andcommitted
reducing console logging to minimum
1 parent e012750 commit 0ae3b0b

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

server.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,20 @@ new WebpackDevServer(webpack(config), {
66
publicPath: config.output.publicPath,
77
hot: true,
88
historyApiFallback: true,
9+
// It suppress error shown in console, so it has to be set to false.
10+
quiet: false,
11+
// It suppress everything except error, so it has to be set to false as well
12+
// to see success build.
13+
noInfo: false,
914
stats: {
10-
colors: true
15+
// Config for minimal console.log mess.
16+
assets: false,
17+
colors: true,
18+
version: false,
19+
hash: false,
20+
timings: false,
21+
chunks: false,
22+
chunkModules: false
1123
}
1224
}).listen(3000, 'localhost', function (err) {
1325
if (err) {

0 commit comments

Comments
 (0)