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.
2 parents 25f7e0b + 88c5e22 commit 32018f6Copy full SHA for 32018f6
src/compiler/sys.ts
@@ -747,6 +747,10 @@ namespace ts {
747
748
function fileChanged(curr: any, prev: any) {
749
if (+curr.mtime === 0) {
750
+ if (eventKind === FileWatcherEventKind.Deleted) {
751
+ // Already deleted file, no need to callback again
752
+ return;
753
+ }
754
eventKind = FileWatcherEventKind.Deleted;
755
}
756
// previous event kind check is to ensure we send created event when file is restored or renamed twice (that is it disappears and reappears)
0 commit comments