Skip to content

Commit

Permalink
fix(@ngtools/webpack): log ngcc info messages (#14320)
Browse files Browse the repository at this point in the history
Fix #14194
  • Loading branch information
filipesilva authored and alexeagle committed May 7, 2019
1 parent b551854 commit a9262be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/ngtools/webpack/src/ngcc_processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ class NgccLogger implements Logger {

debug(..._args: string[]) { }

info(..._args: string[]) { }
info(...args: string[]) {
// Log to stderr because it's a progress-like info message.
process.stderr.write(`\n${args.join(' ')}\n`);
}

warn(...args: string[]) {
this.compilationWarnings.push(args.join(' '));
Expand Down

0 comments on commit a9262be

Please sign in to comment.