Commit bb97de0
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 01d4522 commit bb97de0Copy full SHA for bb97de0
File tree
Expand file treeCollapse file tree
1 file changed
+11
-0
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+11
-0
lines changedOpen diff view settings
Collapse file
+11Lines changed: 11 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
869 | 869 | |
870 | 870 | |
871 | 871 | |
| 872 | + |
| 873 | + |
| 874 | + |
| 875 | + |
| 876 | + |
| 877 | + |
| 878 | + |
| 879 | + |
| 880 | + |
| 881 | + |
872 | 882 | |
873 | 883 | |
874 | 884 | |
| ||
1053 | 1063 | |
1054 | 1064 | |
1055 | 1065 | |
| 1066 | + |
0 commit comments