We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 076a99f commit 26f9a33Copy full SHA for 26f9a33
doc/api/fs.md
@@ -4768,6 +4768,12 @@ unavailable in some situations.
4768
On Windows, no events will be emitted if the watched directory is moved or
4769
renamed. An `EPERM` error is reported when the watched directory is deleted.
4770
4771
+The `fs.watch` API does not provide any protection with respect
4772
+to malicious actions on the file system. For example, on Windows it is
4773
+implemented by monitoring changes in a directory versus specific files. This
4774
+allows substitution of a file and fs reporting changes on the new file
4775
+with the same filename.
4776
+
4777
##### Availability
4778
4779
<!--type=misc-->
0 commit comments