@jsenv/filesystem
Advanced tools
Comparing version 4.3.1 to 4.3.2
{ | ||
"name": "@jsenv/filesystem", | ||
"version": "4.3.1", | ||
"version": "4.3.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -11,3 +11,4 @@ import { readdirSync, statSync } from "node:fs"; | ||
const fsWatchSupportsRecursive = process.platform !== "linux"; | ||
const isLinux = process.platform === "linux"; | ||
const fsWatchSupportsRecursive = !isLinux; | ||
@@ -348,6 +349,6 @@ export const registerDirectoryLifecycle = ( | ||
} | ||
if (stat.mtimeMs > previousInfo.stat.mtimeMs) { | ||
return true; | ||
if (isLinux && stat.mtimeMs <= previousInfo.stat.mtimeMs) { | ||
return false; | ||
} | ||
return false; | ||
return true; | ||
}; | ||
@@ -354,0 +355,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89072
2646