mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 02:54:21 +08:00
fix(@angular-devkit/build-angular): reduce clutter in dev-server logs
Add new lines to reduce logs clutter.
This commit is contained in:
parent
66c3f79fc2
commit
090fdf0ad3
@ -314,12 +314,12 @@ export function serveWebpackBrowser(
|
||||
});
|
||||
|
||||
if (index === 0) {
|
||||
logger.info(tags.oneLine`
|
||||
logger.info('\n' + tags.oneLine`
|
||||
**
|
||||
Angular Live Development Server is listening on ${options.host}:${buildEvent.port},
|
||||
open your browser on ${serverAddress}
|
||||
**
|
||||
`);
|
||||
` + '\n');
|
||||
|
||||
if (options.open) {
|
||||
const open = require('open');
|
||||
@ -328,7 +328,7 @@ export function serveWebpackBrowser(
|
||||
}
|
||||
|
||||
if (buildEvent.success) {
|
||||
logger.info(`${colors.greenBright(colors.symbols.check)} Compiled successfully.`);
|
||||
logger.info(`\n${colors.greenBright(colors.symbols.check)} Compiled successfully.`);
|
||||
}
|
||||
|
||||
return of({ ...buildEvent, baseUrl: serverAddress } as DevServerBuilderOutput);
|
||||
|
Loading…
x
Reference in New Issue
Block a user