We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4894fee commit d15278bCopy full SHA for d15278b
src/compiler/tsc.ts
@@ -276,6 +276,7 @@ module ts {
276
277
// If a source file changes, mark it as unwatched and start the recompilation timer
278
function sourceFileChanged(sourceFile: SourceFile) {
279
+ sourceFile.fileWatcher.close();
280
sourceFile.fileWatcher = undefined;
281
startTimer();
282
}
0 commit comments