Commit ef3c90f
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: #5039
PR-URL: #6099
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 1e6833e commit ef3c90f
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
833 | 843 | | |
834 | 844 | | |
835 | 845 | | |
| |||
1010 | 1020 | | |
1011 | 1021 | | |
1012 | 1022 | | |
| 1023 | + | |
0 commit comments