File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -354,17 +354,16 @@ function processOptions(wpOpt) {
354
354
}
355
355
356
356
function reportReadiness ( uri , options ) {
357
+ var startSentence = "Project is running at " + uri ;
357
358
if ( options . socket ) {
358
- console . log ( "Listening to socket" , options . socket ) ;
359
- } else {
360
- console . log ( " " + uri ) ;
359
+ startSentence = "Listening to socket at " + options . socket ;
361
360
}
361
+ console . log ( ( argv [ "progress" ] ? "\n" : "" ) + startSentence ) ;
362
362
363
- console . log ( "webpack result is served from " + options . publicPath ) ;
364
- if ( Array . isArray ( options . contentBase ) )
365
- console . log ( "content is served from " + options . contentBase . join ( ", " ) ) ;
366
- else if ( options . contentBase )
367
- console . log ( "content is served from " + options . contentBase ) ;
363
+ console . log ( "webpack output is served from " + options . publicPath ) ;
364
+ var contentBase = Array . isArray ( options . contentBase ) ? options . contentBase . join ( ", " ) : options . contentBase ;
365
+ if ( contentBase )
366
+ console . log ( "Content not from webpack is served from " + contentBase ) ;
368
367
if ( options . historyApiFallback )
369
368
console . log ( "404s will fallback to %s" , options . historyApiFallback . index || "/index.html" ) ;
370
369
if ( options . open )
You can’t perform that action at this time.
0 commit comments