watchpack
Advanced tools
Comparing version 2.3.1 to 2.4.0
@@ -15,3 +15,3 @@ /* | ||
let FS_ACCURACY = 1000; | ||
let FS_ACCURACY = 2000; | ||
@@ -185,3 +185,3 @@ const IS_OSX = require("os").platform() === "darwin"; | ||
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 | ||
@@ -787,2 +787,3 @@ // This can be caused by some file attribute change | ||
else if (FS_ACCURACY > 100 && mtime % 100 !== 0) FS_ACCURACY = 100; | ||
else if (FS_ACCURACY > 1000 && mtime % 1000 !== 0) FS_ACCURACY = 1000; | ||
} |
{ | ||
"name": "watchpack", | ||
"version": "2.3.1", | ||
"version": "2.4.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/watchpack.js", |
56938
1676