Skip to content

Commit e5196f5

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

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
@@ -162,6 +162,7 @@ module.exports = (api, options) => {
162162

163163
// create server
164164
const server = new WebpackDevServer(compiler, Object.assign({
165+
logLevel: 'silent',
165166
clientLogLevel: 'silent',
166167
historyApiFallback: {
167168
disableDotRule: true,
@@ -170,7 +171,6 @@ module.exports = (api, options) => {
170171
contentBase: api.resolve('public'),
171172
watchContentBase: !isProduction,
172173
hot: !isProduction,
173-
quiet: true,
174174
compress: isProduction,
175175
publicPath: options.publicPath,
176176
overlay: isProduction // TODO disable this

0 commit comments

Comments
 (0)