Skip to content

Commit 1a844a6

Browse files
bzozaddaleax
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 edb3ffb commit 1a844a6

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
@@ -3796,6 +3796,9 @@ The recursive option is only supported on macOS and Windows.
37963796
An `ERR_FEATURE_UNAVAILABLE_ON_PLATFORM` exception will be thrown
37973797
when the option is used on a platform that does not support it.
37983798

3799+
On Windows, no events will be emitted if the watched directory is moved or
3800+
renamed. An `EPERM` error is reported when the watched directory is deleted.
3801+
37993802
#### Availability
38003803

38013804
<!--type=misc-->

0 commit comments

Comments
 (0)