Commit 30f354f
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 d1fca27 commit 30f354fCopy full SHA for 30f354f
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 |
|---|---|---|
| ||
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