From e5196f581aa17b4880a69c7634431f95614eb23e Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Thu, 10 Oct 2019 09:59:16 +0800 Subject: [PATCH] fix: fix redundant log messages from webpack-dev-server (#4666) By replacing the `quiet` option with `logLevel: 'silent'`. Fixes #4599 --- packages/@vue/cli-service/lib/commands/serve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@vue/cli-service/lib/commands/serve.js b/packages/@vue/cli-service/lib/commands/serve.js index e5447afca8..e5b42daadd 100644 --- a/packages/@vue/cli-service/lib/commands/serve.js +++ b/packages/@vue/cli-service/lib/commands/serve.js @@ -162,6 +162,7 @@ module.exports = (api, options) => { // create server const server = new WebpackDevServer(compiler, Object.assign({ + logLevel: 'silent', clientLogLevel: 'silent', historyApiFallback: { disableDotRule: true, @@ -170,7 +171,6 @@ module.exports = (api, options) => { contentBase: api.resolve('public'), watchContentBase: !isProduction, hot: !isProduction, - quiet: true, compress: isProduction, publicPath: options.publicPath, overlay: isProduction // TODO disable this