Comparing version 0.5.2 to 0.5.3
@@ -0,1 +1,4 @@ | ||
# Chokidar 0.5.3 (January 13, 2012) | ||
* Removed emitting of `change` events before `unlink`. | ||
# Chokidar 0.5.2 (January 13, 2012) | ||
@@ -2,0 +5,0 @@ * Removed postinstall script to prevent various npm bugs. |
@@ -152,3 +152,3 @@ // Generated by CoffeeScript 1.4.0 | ||
return fs.watchFile(item, options, function(curr, prev) { | ||
if (curr.mtime.getTime() !== prev.mtime.getTime()) { | ||
if (curr.mtime.getTime() > prev.mtime.getTime()) { | ||
return callback(item); | ||
@@ -187,3 +187,3 @@ } | ||
previous.filter(function(file) { | ||
return current.indexOf(file) < 0; | ||
return current.indexOf(file) === -1; | ||
}).forEach(function(file) { | ||
@@ -193,3 +193,3 @@ return _this._remove(directory, file); | ||
return current.filter(function(file) { | ||
return previous.indexOf(file) < 0; | ||
return previous.indexOf(file) === -1; | ||
}).forEach(function(file) { | ||
@@ -196,0 +196,0 @@ return _this._handle(sysPath.join(directory, file), previous.length === 0); |
{ | ||
"name": "chokidar", | ||
"description": "A neat wrapper around node.js fs.watch / fs.watchFile.", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "fs", |
@@ -47,3 +47,2 @@ var exec = require('child_process').exec; | ||
case 'postpublish': | ||
console.log(sysPath.resolve(__dirname)); | ||
togglePostinstall(true); | ||
@@ -50,0 +49,0 @@ break; |
Sorry, the diff of this file is not supported yet
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
30837
319