diff --git a/tools/broccoli/broccoli-ts2dart.ts b/tools/broccoli/broccoli-ts2dart.ts index 31e60b50a9..6df6fbaccc 100644 --- a/tools/broccoli/broccoli-ts2dart.ts +++ b/tools/broccoli/broccoli-ts2dart.ts @@ -19,7 +19,7 @@ class TSToDartTranspiler implements DiffingBroccoliPlugin { } rebuild(treeDiff: DiffResult) { - let toEmit = []; + let toEmit = [path.resolve(this.inputPath, 'angular2/manual_typings/globals.d.ts')]; let getDartFilePath = (path: string) => path.replace(/((\.js)|(\.ts))$/i, '.dart'); treeDiff.addedPaths.concat(treeDiff.changedPaths) .forEach((changedPath) => { @@ -43,7 +43,6 @@ class TSToDartTranspiler implements DiffingBroccoliPlugin { let dartOutputFilePath = getDartFilePath(removedPath); fs.unlinkSync(path.join(this.cachePath, dartOutputFilePath)); }); - this.transpiler.transpile(toEmit, this.cachePath); } }