diff --git a/src/watchman_watcher.js b/src/watchman_watcher.js index b315155..9440664 100644 --- a/src/watchman_watcher.js +++ b/src/watchman_watcher.js @@ -208,7 +208,7 @@ WatchmanWatcher.prototype.emitEvent = function( */ WatchmanWatcher.prototype.close = function(callback) { - this._client.closeWatcher(); + this._client.closeWatcher(this); callback && callback(null, true); };