Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "sane", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Sane aims to be fast, small, and reliable file system watcher.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -186,3 +186,4 @@ 'use strict'; | ||
if (!common.isFileIncluded(this.globs, this.dot, changeDescriptor.name)) { | ||
var relativePath = path.relative(this.root, absPath); | ||
if (!common.isFileIncluded(this.globs, this.dot, relativePath)) { | ||
return; | ||
@@ -192,3 +193,3 @@ } | ||
if (!changeDescriptor.exists) { | ||
self.emitEvent(DELETE_EVENT, changeDescriptor.name, self.root); | ||
self.emitEvent(DELETE_EVENT, relativePath, self.root); | ||
} else { | ||
@@ -204,3 +205,3 @@ fs.lstat(absPath, function(error, stat) { | ||
if (!(eventType === CHANGE_EVENT && stat.isDirectory())) { | ||
self.emitEvent(eventType, changeDescriptor.name, self.root, stat); | ||
self.emitEvent(eventType, relativePath, self.root, stat); | ||
} | ||
@@ -207,0 +208,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
55591
1099