Skip to content

Commit

Permalink
fix incorrect context (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra authored and evilebottnawi committed Apr 25, 2018
1 parent 5efd9ff commit 886039b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DirectoryWatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ DirectoryWatcher.prototype.doInitialScan = function doInitialScan() {
if(this.watchers[withoutCase(this.path)]) {
this.watchers[withoutCase(this.path)].forEach(function(w) {
w.emit("change", this.path, mtime, type);
});
}, this);
}
}.bind(this));
this.initialScan = false;
Expand Down

0 comments on commit 886039b

Please sign in to comment.