Skip to content

Commit

Permalink
doc: expand fs.watch caveats
Browse files Browse the repository at this point in the history
Document Windows specific fs.watch caveats.

Fixes: #31702

PR-URL: #32176
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Masashi Hirano <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
bzoz authored and MylesBorins committed Mar 24, 2020
1 parent 53fd0d8 commit 5080734
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3805,6 +3805,9 @@ unavailable in some situations.

The recursive option is only supported on macOS and Windows.

On Windows, no events will be emitted if the watched directory is moved or
renamed. An `EPERM` error is reported when the watched directory is deleted.

#### Availability

<!--type=misc-->
Expand Down

0 comments on commit 5080734

Please sign in to comment.