Skip to content

Commit beffe8a

Browse files
committed
fix: allow disabling progress plugin via devServer.client.progress
1 parent 558dea2 commit beffe8a

File tree

1 file changed

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

1 file changed

+5
-1
lines changed

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,11 @@ module.exports = (api, options) => {
6262
.output
6363
.globalObject(`(typeof self !== 'undefined' ? self : this)`)
6464

65-
if (!process.env.VUE_CLI_TEST && options.devServer.progress !== false) {
65+
if (
66+
!process.env.VUE_CLI_TEST &&
67+
(!options.devServer.client ||
68+
options.devServer.client.progress !== false)
69+
) {
6670
// the default progress plugin won't show progress due to infrastructreLogging.level
6771
webpackConfig
6872
.plugin('progress')

0 commit comments

Comments
 (0)