Skip to content

Commit

Permalink
fix: allow disabling progress plugin via devServer.client.progress
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Jul 4, 2022
1 parent 558dea2 commit beffe8a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/@vue/cli-service/lib/commands/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ module.exports = (api, options) => {
.output
.globalObject(`(typeof self !== 'undefined' ? self : this)`)

if (!process.env.VUE_CLI_TEST && options.devServer.progress !== false) {
if (
!process.env.VUE_CLI_TEST &&
(!options.devServer.client ||
options.devServer.client.progress !== false)
) {
// the default progress plugin won't show progress due to infrastructreLogging.level
webpackConfig
.plugin('progress')
Expand Down

0 comments on commit beffe8a

Please # to comment.