File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,8 @@ function processOptions(webpackOptions) {
247
247
248
248
if ( argv . socket ) { options . socket = argv . socket ; }
249
249
250
+ if ( argv . progress ) { options . progress = argv . progress ; }
251
+
250
252
if ( ! options . publicPath ) {
251
253
// eslint-disable-next-line
252
254
options . publicPath = firstWpOpt . output && firstWpOpt . output . publicPath || '' ;
@@ -368,7 +370,7 @@ function startDevServer(webpackOptions, options) {
368
370
throw e ;
369
371
}
370
372
371
- if ( argv . progress ) {
373
+ if ( options . progress ) {
372
374
compiler . apply ( new webpack . ProgressPlugin ( {
373
375
profile : argv . profile
374
376
} ) ) ;
@@ -445,7 +447,8 @@ function reportReadiness(uri, options) {
445
447
if ( options . socket ) {
446
448
startSentence = `Listening to socket at ${ colorInfo ( useColor , options . socket ) } ` ;
447
449
}
448
- console . log ( ( argv . progress ? '\n' : '' ) + startSentence ) ;
450
+
451
+ console . log ( ( options . progress ? '\n' : '' ) + startSentence ) ;
449
452
450
453
console . log ( `webpack output is served from ${ colorInfo ( useColor , options . publicPath ) } ` ) ;
451
454
You can’t perform that action at this time.
0 commit comments