Comparing version 0.3.2 to 0.3.3
@@ -200,2 +200,6 @@ var fs = require('fs'); | ||
Watcher.prototype.processChange = function(dir, event, file) { | ||
if (!file) { | ||
return; | ||
} | ||
var fullPath = path.join(dir, file); | ||
@@ -202,0 +206,0 @@ var relativePath = path.join(path.relative(this.root, dir), file); |
{ | ||
"name": "sane", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Sane aims to be fast, small, and reliable file system watcher. No bells and whistles, just change events.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -29,3 +29,3 @@ sane | ||
// close | ||
watcer.close(); | ||
watcher.close(); | ||
``` | ||
@@ -44,2 +44,4 @@ | ||
Stops watching. | ||
### sane.Watcher events | ||
@@ -55,6 +57,4 @@ | ||
Stops watching. | ||
## License | ||
MIT |
13472
412