fs.notify
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -0,1 +1,4 @@ | ||
## 0.0.4 | ||
- Add full path argument to those passed to notification callback. | ||
## 0.0.3 | ||
@@ -2,0 +5,0 @@ - Compare time based on their numeric value, a regular compare. |
@@ -236,3 +236,3 @@ "use strict"; | ||
this.emit('change', filename, event); | ||
this.emit('change', filename, event, FSWatcher.path); | ||
this.reset(FSWatcher.path); | ||
@@ -239,0 +239,0 @@ |
@@ -25,3 +25,3 @@ { | ||
}, | ||
"version": "0.0.3" | ||
"version": "0.0.4" | ||
} |
@@ -26,4 +26,4 @@ # fs.notify | ||
var notifications = new Notify(files); | ||
notifications.on('change', function (file) { | ||
console.log('file changed'); | ||
notifications.on('change', function (file, event, path) { | ||
console.log('caught a ' + event + ' event on ' + path); | ||
}); | ||
@@ -30,0 +30,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
9638
0
1