Skip to content

Commit

Permalink
doc: clarify docs fs.watch exception may be emitted
Browse files Browse the repository at this point in the history
  • Loading branch information
juanarbol committed Mar 27, 2020
1 parent 113c04c commit 39c8126
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3815,10 +3815,10 @@ to be notified of filesystem changes.
* On Aix systems, this feature depends on [`AHAFS`][], which must be enabled.

If the underlying functionality is not available for some reason, then
`fs.watch` will not be able to function. For example, watching files or
directories can be unreliable, and in some cases impossible, on network file
systems (NFS, SMB, etc), or host file systems when using virtualization software
such as Vagrant, Docker, etc.
`fs.watch` will not be able to function (may an exception will be thrown).
For example, watching files or directories can be unreliable, and in some
cases impossible, on network file systems (NFS, SMB, etc), or host file systems
when using virtualization software such as Vagrant, Docker, etc.

It is still possible to use `fs.watchFile()`, which uses stat polling, but
this method is slower and less reliable.
Expand Down

0 comments on commit 39c8126

Please sign in to comment.