diff --git a/lib/DirectoryWatcher.js b/lib/DirectoryWatcher.js index 5cf3a47..e982f0c 100644 --- a/lib/DirectoryWatcher.js +++ b/lib/DirectoryWatcher.js @@ -181,7 +181,7 @@ class DirectoryWatcher extends EventEmitter { safeTime = now; accuracy = 0; - if (old && old.timestamp === mtime && mtime + FS_ACCURACY < now - 1000) { + if (old && old.timestamp === mtime && mtime + FS_ACCURACY < now) { // We are sure that mtime is untouched // This can be caused by some file attribute change // e. g. when access time has been changed