File tree 1 file changed +6
-1
lines changed
packages/angular_devkit/build_angular/src/dev-server
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -356,6 +356,10 @@ export function serveWebpackBrowser(
356
356
}
357
357
}
358
358
359
+ if ( buildEvent . success ) {
360
+ context . logger . info ( ': Compiled successfully.' ) ;
361
+ }
362
+
359
363
return { ...buildEvent , baseUrl : serverAddress } as DevServerBuilderOutput ;
360
364
} ) ,
361
365
) ;
@@ -405,7 +409,7 @@ export function buildServerConfig(
405
409
const servePath = buildServePath ( serverOptions , browserOptions , logger ) ;
406
410
const { styles, scripts } = normalizeOptimization ( browserOptions . optimization ) ;
407
411
408
- const config : WebpackDevServer . Configuration = {
412
+ const config : WebpackDevServer . Configuration & { logLevel : string } = {
409
413
host : serverOptions . host ,
410
414
port : serverOptions . port ,
411
415
headers : { 'Access-Control-Allow-Origin' : '*' } ,
@@ -438,6 +442,7 @@ export function buildServerConfig(
438
442
publicPath : servePath ,
439
443
hot : serverOptions . hmr ,
440
444
contentBase : false ,
445
+ logLevel : 'silent' ,
441
446
} ;
442
447
443
448
if ( serverOptions . ssl ) {
You can’t perform that action at this time.
0 commit comments