doc: expand fs.watch caveats
Document Windows specific fs.watch caveats. Fixes: https://github.com/nodejs/node/issues/31702 PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
edb3ffb003
commit
1a844a6f3a
@ -3796,6 +3796,9 @@ The recursive option is only supported on macOS and Windows.
|
||||
An `ERR_FEATURE_UNAVAILABLE_ON_PLATFORM` exception will be thrown
|
||||
when the option is used on a platform that does not support it.
|
||||
|
||||
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-->
|
||||
|
Loading…
x
Reference in New Issue
Block a user