Skip to content

Commit

Permalink
Try to revert #644.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Sep 6, 2018
1 parent b4bae1f commit ae92fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ FSWatcher.prototype._awaitWriteFinish = function(path, threshold, event, awfEmit

var awaitWriteFinish = (function (prevStat) {
fs.stat(fullPath, function(err, curStat) {
if (err || !(path in this._pendingWrites)) {
if (err) {
if (err && err.code !== 'ENOENT') awfEmit(err);
return;
}
Expand Down

0 comments on commit ae92fdf

Please sign in to comment.