Skip to content

Commit

Permalink
don't adjust fs accuracy on inital scan
Browse files Browse the repository at this point in the history
reverts a part of PR #40
  • Loading branch information
sokra committed Feb 13, 2017
1 parent 08d4759 commit 7a82038
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/DirectoryWatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ DirectoryWatcher.prototype.setFileTime = function setFileTime(filePath, mtime, i

this.files[filePath] = [initial ? Math.min(now, mtime) : now, mtime];

ensureFsAccuracy(mtime);

// we add the fs accurency to reach the maximum possible mtime
if(mtime)
mtime = mtime + FS_ACCURACY;
Expand Down

0 comments on commit 7a82038

Please # to comment.