Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorYagiz Nizipli <yagiz@nizipli.com>2022-11-01 02:15:45 +0300
committerGitHub <noreply@github.com>2022-11-01 02:15:45 +0300
commit17ae2ab7509c8379e842e606a011f688fcbcf7f2 (patch)
treed349b1765ec29a77acdbce8ff5bf6c5369096989 /doc/api
parent3d1bdc954dadfd64117a251bfcde6f237c30fd68 (diff)
fs: add recursive watch to linux
PR-URL: https://github.com/nodejs/node/pull/45098 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/fs.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/api/fs.md b/doc/api/fs.md
index fa3368da281..b0d7eaeac2f 100644
--- a/doc/api/fs.md
+++ b/doc/api/fs.md
@@ -4320,6 +4320,9 @@ The `atime` and `mtime` arguments follow these rules:
<!-- YAML
added: v0.5.10
changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/45098
+ description: Added recursive support for Linux, AIX and IBMi.
- version:
- v15.9.0
- v14.17.0
@@ -4377,10 +4380,6 @@ the returned {fs.FSWatcher}.
The `fs.watch` API is not 100% consistent across platforms, and is
unavailable in some situations.
-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.