Skip to content

Commit 96641cd

Browse files
committed
fix: fix redundant log messages from webpack-dev-server (#4666)
By replacing the `quiet` option with `logLevel: 'silent'`. Fixes #4599 (cherry picked from commit e5196f5)
1 parent a3225ac commit 96641cd

File tree

1 file changed

+1
-1
lines changed
  • packages/@vue/cli-service/lib/commands

1 file changed

+1
-1
lines changed

packages/@vue/cli-service/lib/commands/serve.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ module.exports = (api, options) => {
138138

139139
// create server
140140
const server = new WebpackDevServer(compiler, Object.assign({
141+
logLevel: 'silent',
141142
clientLogLevel: 'silent',
142143
historyApiFallback: {
143144
disableDotRule: true,
@@ -146,7 +147,6 @@ module.exports = (api, options) => {
146147
contentBase: api.resolve('public'),
147148
watchContentBase: !isProduction,
148149
hot: !isProduction,
149-
quiet: true,
150150
compress: isProduction,
151151
publicPath: options.publicPath,
152152
overlay: isProduction // TODO disable this

0 commit comments

Comments
 (0)