Comparing version 2.0.0-beta.1 to 2.0.0-beta.2
@@ -335,2 +335,10 @@ /* | ||
if(this.closed) return; | ||
if(!filename) { | ||
// In some cases no filename is provided | ||
// This seem to happen on windows | ||
// So some event happened but we don't know which file is affected | ||
// We have to do a full scan of the directory | ||
this.doScan(false); | ||
return; | ||
} | ||
if(this._activeEvents.get(filename) === undefined) { | ||
@@ -498,2 +506,8 @@ this._activeEvents.set(filename, false); | ||
} | ||
if(this.scanAgain) { | ||
// Early repeat of scan | ||
this.scanAgain = false; | ||
this.doScan(initial); | ||
return; | ||
} | ||
async.forEach(itemPaths, (itemPath, callback) => { | ||
@@ -500,0 +514,0 @@ fs.stat(itemPath, (err2, stats) => { |
{ | ||
"name": "watchpack", | ||
"version": "2.0.0-beta.1", | ||
"version": "2.0.0-beta.2", | ||
"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
28548
788