8000 fix: fix redundant log messages from webpack-dev-server by haoqunjiang · Pull Request #4666 · vuejs/vue-cli · GitHub
[go: up one dir, main page]

Skip to content

fix: fix redundant log messages from webpack-dev-server #4666

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
< 8000 details class="details-reset details-overlay diffbar-item toc-select select-menu ml-0" data-target="diff-layout.tocMenu" > Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: fix redundant log messages from webpack-dev-server
By replacing the `quiet` option with `logLevel: 'silent'`.

Fixes #4599
  • Loading branch information
haoqunjiang committed Oct 9, 2019
commit 978e31608f2b8533192fb6152b55a3a1bdbd91ec
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/commands/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ module.exports = (api, options) => {

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