Skip to content

Commit

Permalink
fix: fix redundant log messages from webpack-dev-server (#4666)
Browse files Browse the repository at this point in the history
By replacing the `quiet` option with `logLevel: 'silent'`.

Fixes #4599

(cherry picked from commit e5196f5)
  • Loading branch information
sodatea committed Oct 10, 2019
1 parent a3225ac commit 96641cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/commands/serve.js
Expand Up @@ -138,6 +138,7 @@ module.exports = (api, options) => {

// create server
const server = new WebpackDevServer(compiler, Object.assign({
logLevel: 'silent',
clientLogLevel: 'silent',
historyApiFallback: {
disableDotRule: true,
Expand All @@ -146,7 +147,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
Expand Down

0 comments on commit 96641cd

Please sign in to comment.