Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Replacing relative path with retrieved absolute.

  • Loading branch information...
commit 9190269f9505d6bfd1729bb33723426e5e701425 1 parent 53d071c
@pose pose authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  package.json
  2. +1 −1  src/index.coffee
View
2  package.json
@@ -1,7 +1,7 @@
{
"name": "chokidar",
"description": "A neat wrapper around node.js fs.watch / fs.watchFile.",
- "version": "0.5.0",
+ "version": "0.5.1",
"keywords": ["fs", "watch", "watchFile", "watcher", "file"],
"homepage": "https://github.com/paulmillr/chokidar",
"author": "Paul Miller (http://paulmillr.com)",
View
2  src/index.coffee
@@ -178,7 +178,7 @@ exports.FSWatcher = class FSWatcher extends EventEmitter
fs.realpath item, (error, path) =>
return @emit 'error', error if error?
# Get file info, check is it file, directory or something else.
- fs.stat item, (error, stats) =>
+ fs.stat path, (error, stats) =>
return @emit 'error', error if error?
if @options.ignorePermissionErrors and (not @_hasReadPermissions stats)
return
Please sign in to comment.
Something went wrong with that request. Please try again.