Commit 88c35e70 authored by Joran Dirk Greef's avatar Joran Dirk Greef Committed by James M Snell
Browse files

doc: clarify fs.watch() and inodes on linux, os x

On Linux and OS X systems, `fs.watch()` resolves the watched path to an
inode. This clarifies that `fs.watch()` watches the inode and not the
path. If the inode of the path subsequently changes, `fs.watch()` will
continue watching the original inode and events for the path will no
longer be emitted. This is expected behavior.

Fixes: https://github.com/nodejs/node/issues/5039
PR-URL: https://github.com/nodejs/node/pull/6099


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent b95160da
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment