Skip to content

Commit 5f3e44f

Browse files
committed
fix: when a file has an error, recompile it next run.
Fixes #435
1 parent 129601d commit 5f3e44f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/broccoli/broccoli-typescript.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ class BroccoliTypeScriptCompiler extends Plugin {
9696

9797
const errors = this._collectErrors(allDiagnostics);
9898
if (errors) {
99+
// Rebuild it next incremental pass.
100+
delete this._fileRegistry[tsFilePath];
99101
errorMessages.push(errors);
100102
}
101103
} else {

0 commit comments

Comments
 (0)