File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -440,13 +440,15 @@ function startDevServer(wpOpt, options) {
440
440
441
441
function reportReadiness ( uri , options ) {
442
442
const useColor = argv . color ;
443
- let startSentence = `Project is running at ${ colorInfo ( useColor , uri ) } `
444
- if ( options . socket ) {
445
- startSentence = `Listening to socket at ${ colorInfo ( useColor , options . socket ) } ` ;
446
- }
447
- console . log ( ( argv [ "progress" ] ? "\n" : "" ) + startSentence ) ;
443
+ if ( ! options . quiet ) {
444
+ let startSentence = `Project is running at ${ colorInfo ( useColor , uri ) } `
445
+ if ( options . socket ) {
446
+ startSentence = `Listening to socket at ${ colorInfo ( useColor , options . socket ) } ` ;
447
+ }
448
+ console . log ( ( argv [ "progress" ] ? "\n" : "" ) + startSentence ) ;
448
449
449
- console . log ( `webpack output is served from ${ colorInfo ( useColor , options . publicPath ) } ` ) ;
450
+ console . log ( `webpack output is served from ${ colorInfo ( useColor , options . publicPath ) } ` ) ;
451
+ }
450
452
const contentBase = Array . isArray ( options . contentBase ) ? options . contentBase . join ( ", " ) : options . contentBase ;
451
453
if ( contentBase )
452
454
console . log ( `Content not from webpack is served from ${ colorInfo ( useColor , contentBase ) } ` ) ;
You can’t perform that action at this time.
0 commit comments