hunk.code_window:         // to be properly resolved.
           this._program = ts.createProgram(
             this._rootFilePath, this._compilerOptions, this._compilerHost, this._program);
         })
         .then(() => {
           if (this._typeCheck) {
             const diagnostics = this._program.getGlobalDiagnostics();
  
hunk.labels: keep keep keep add keep keep keep
hunk.after_edit:       .then(() => {
           // Re-diagnose changed files.
           const changedFilePaths = this._compilerHost.getChangedFilePaths();
           changedFilePaths.forEach(filePath => this.diagnose(filePath));
         })
  
hunk.file_path: packages/@ngtools/webpack/src/plugin.ts
hunk.type: add
file: import {silentNg} from '../../../utils/process';
  
  
  export default function() {
    return Promise.resolve()
      .then(() => silentNg('completion'))
      .then(() => process.chdir('/'))
      .then(() => silentNg('completion'));
  }
  