Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2b0f40c

Browse filesBrowse files
eljefedelrodeodeljefeMyles Borins
authored andcommitted
doc: add note for fs.watch virtualized env
Fixes: #6765 PR-URL: #6809 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent 1549899 commit 2b0f40c
Copy full SHA for 2b0f40c

File tree

Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/fs.markdown‎

Copy file name to clipboardExpand all lines: doc/api/fs.markdown
+4-3Lines changed: 4 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -823,9 +823,10 @@ to be notified of filesystem changes.
823823
* On Windows systems, this feature depends on `ReadDirectoryChangesW`.
824824

825825
If the underlying functionality is not available for some reason, then
826-
`fs.watch` will not be able to function. For example, watching files or
827-
directories on network file systems (NFS, SMB, etc.) often doesn't work
828-
reliably or at all.
826+
`fs.watch` will not be able to function. For example, watching files or
827+
directories can be unreliable, and in some cases impossible, on network file
828+
systems (NFS, SMB, etc), or host file systems when using virtualization software
829+
such as Vagrant, Docker, etc.
829830

830831
You can still use `fs.watchFile`, which uses stat polling, but it is slower and
831832
less reliable.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.