From 038a46398d5e25e532f85547babc44a83fb6eb3e Mon Sep 17 00:00:00 2001 From: Bartosz Sosnowski Date: Tue, 10 Mar 2020 16:02:19 +0100 Subject: [PATCH] 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 Reviewed-By: Masashi Hirano Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- doc/api/fs.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/fs.md b/doc/api/fs.md index ae339f6da2fa41..116b3bdc73a887 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -3805,6 +3805,9 @@ unavailable in some situations. The recursive option is only supported on macOS and Windows. +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