Comparing version 1.3.0 to 1.3.1
@@ -19,2 +19,3 @@ /* | ||
this.dirWatchers = []; | ||
this.mtimes = Object.create(null); | ||
this.paused = false; | ||
@@ -114,2 +115,3 @@ this.aggregatedChanges = []; | ||
file = file || item; | ||
this.mtimes[file] = mtime; | ||
if(this.paused) return; | ||
@@ -126,2 +128,3 @@ this.emit("change", file, mtime); | ||
file = file || item; | ||
delete this.mtimes[item]; | ||
if(this.paused) return; | ||
@@ -128,0 +131,0 @@ this.emit("remove", item); |
{ | ||
"name": "watchpack", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/watchpack.js", |
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
21223
469