Skip to content

Commit

Permalink
Revert "Try to revert #644."
Browse files Browse the repository at this point in the history
This reverts commit ae92fdf.
  • Loading branch information
paulmillr committed Sep 6, 2018
1 parent b639b1c commit 6e112b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
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) {
if (err || !(path in this._pendingWrites)) {
if (err && err.code !== 'ENOENT') awfEmit(err);
return;
}
Expand Down

0 comments on commit 6e112b9

Please sign in to comment.