pathwatcher
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -51,3 +51,2 @@ var binding = require('../build/Release/pathwatcher.node'); | ||
handleWatchers[this.handle] = this; | ||
console.log('start', this.handle); | ||
} | ||
@@ -62,3 +61,2 @@ | ||
if (this.handle in handleWatchers) { | ||
console.log('close', this.handle); | ||
binding.unwatch(this.handle); | ||
@@ -65,0 +63,0 @@ delete handleWatchers[this.handle]; |
@@ -6,3 +6,3 @@ { | ||
"description": "watch events of a file", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"repository": { | ||
@@ -9,0 +9,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
1
8593
9
89