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 05fcc22 commit 2777c3aCopy full SHA for 2777c3a
src/compiler/watch.ts
@@ -749,6 +749,9 @@ namespace ts {
749
(missingFilePathsRequestedForRelease || (missingFilePathsRequestedForRelease = [])).push(oldSourceFile.path);
750
}
751
else if ((hostSourceFileInfo as FilePresentOnHost).sourceFile === oldSourceFile) {
752
+ if ((hostSourceFileInfo as FilePresentOnHost).fileWatcher) {
753
+ (hostSourceFileInfo as FilePresentOnHost).fileWatcher.close();
754
+ }
755
sourceFilesCache.delete(oldSourceFile.path);
756
resolutionCache.removeResolutionsOfFile(oldSourceFile.path);
757
0 commit comments