Skip to content

Commit 5080734

Browse files
bzozMylesBorins
authored andcommitted
doc: expand fs.watch caveats
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]>
1 parent 53fd0d8 commit 5080734

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/fs.md

+3
Original file line numberDiff line numberDiff line change
@@ -3805,6 +3805,9 @@ unavailable in some situations.
38053805

38063806
The recursive option is only supported on macOS and Windows.
38073807

3808+
On Windows, no events will be emitted if the watched directory is moved or
3809+
renamed. An `EPERM` error is reported when the watched directory is deleted.
3810+
38083811
#### Availability
38093812

38103813
<!--type=misc-->

0 commit comments

Comments
 (0)