feat(compiler-cli): add watch mode to ngc (#18818)

With this change ngc now accepts a `-w` or a `--watch`
command-line option that will automatically perform a
recompile whenever any source files change on disk.

PR Close #18818
This commit is contained in:
Chuck Jazdzewski
2017-08-18 14:03:59 -07:00
committed by Jason Aden
parent c685cc2f0a
commit 06d01b2287
18 changed files with 539 additions and 54 deletions

View File

@ -191,7 +191,7 @@ export class DiagnosticContext {
analyzeHost);
analyzedModules = this._analyzedModules =
analyzeNgModules(programSymbols, analyzeHost, this.resolver);
analyzeNgModules(programSymbols, analyzeHost, this.staticSymbolResolver, this.resolver);
}
return analyzedModules;
}