Always perform inode watching unless on Windows.

This commit is contained in:
Daniel Rosenwasser
2023-08-29 20:27:17 +00:00
parent 23c9752367
commit de39e59c7d
+2 -2
View File
@@ -1482,7 +1482,7 @@ export let sys: System = (() => {
from?(input: string, encoding?: string): any;
} = require("buffer").Buffer;
const isLinuxOrMacOs = process.platform === "linux" || process.platform === "darwin";
const isWindows = process.platform === "win32";
const platform: string = _os.platform();
const useCaseSensitiveFileNames = isFileSystemCaseSensitive();
@@ -1514,7 +1514,7 @@ export let sys: System = (() => {
tscWatchFile: process.env.TSC_WATCHFILE,
useNonPollingWatchers: !!process.env.TSC_NONPOLLING_WATCHER,
tscWatchDirectory: process.env.TSC_WATCHDIRECTORY,
inodeWatching: isLinuxOrMacOs,
inodeWatching: !isWindows,
sysLog,
});
const nodeSystem: System = {