Skip to content

Commit 76e2455

Browse files
bzoztargos
authored andcommittedApr 22, 2020
doc: expand fs.watch caveats
Document Windows specific fs.watch caveats. Fixes: #31702 PR-URL: #32176 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Masashi Hirano <shisama07@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
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

+3
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)
Please sign in to comment.