Commit e3b39842327 for nodejs
commit e3b39842327ac6607d6390d0053382de190225f3
Author: yuki motokane <216834584+motokaneyuki@users.noreply.github.com>
Date: Thu Oct 29 22:01:48 2026 +0900
doc: remove outdated platform note for --watch-path
Fixes: https://github.com/nodejs/node/issues/66743
Signed-off-by: Yuki Motokane <216834584+motokaneyuki@users.noreply.github.com>
Assisted-by: Claude
PR-URL: https://github.com/nodejs/node/pull/66749
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
diff --git a/doc/api/cli.md b/doc/api/cli.md
index a193b8e9eb8..641730d6b9e 100644
--- a/doc/api/cli.md
+++ b/doc/api/cli.md
@@ -4081,10 +4081,6 @@ and is incompatible with `--run`, as `--run` takes precedence and ignores watch
node --watch-path=./src --watch-path=./tests index.js
```
-This 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.
-
### `--watch-preserve-output`
<!-- YAML
diff --git a/doc/node.1 b/doc/node.1
index 7df8dd74973..7a32ece46d2 100644
--- a/doc/node.1
+++ b/doc/node.1
@@ -2077,9 +2077,6 @@ and is incompatible with \fB--run\fR, as \fB--run\fR takes precedence and ignore
.Bd -literal
node --watch-path=./src --watch-path=./tests index.js
.Ed
-This option is only supported on macOS and Windows.
-An \fBERR_FEATURE_UNAVAILABLE_ON_PLATFORM\fR exception will be thrown
-when the option is used on a platform that does not support it.
.
.It Fl -watch-preserve-output
Disable the clearing of the console when watch mode restarts the process.