Skip to content

Commit 95b2630

Browse files
committed
Add watchFile option to use fsEvents on parent directory
1 parent 93c13ce commit 95b2630

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/compiler/sys.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,9 @@ namespace ts {
608608
// Use notifications from FS to watch with falling back to dynamic watch file
609609
dynamicPollingWatchFile = createDynamicPriorityPollingWatchFile(nodeSystem);
610610
return createWatchFileUsingDynamicWatchFile(dynamicPollingWatchFile);
611+
case "UseFsEventsOnParentDirectory":
612+
// Use notifications from FS to watch with falling back to fs.watchFile
613+
return createNonPollingWatchFile();
611614
}
612615
return useNonPollingWatchers ?
613616
createNonPollingWatchFile() :

0 commit comments

Comments
 (0)