Skip to content

Commit 76e2455

Browse files
bzoztargos
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 c8541a7 commit 76e2455

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/api/fs.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3758,6 +3758,9 @@ unavailable in some situations.
37583758

37593759
The recursive option is only supported on macOS and Windows.
37603760

3761+
On Windows, no events will be emitted if the watched directory is moved or
3762+
renamed. An `EPERM` error is reported when the watched directory is deleted.
3763+
37613764
#### Availability
37623765

37633766
<!--type=misc-->

0 commit comments

Comments
 (0)