Skip to content

Commit 7a3c6c5

Browse files
motokaneyukiaduh95
authored andcommitted
doc: remove outdated platform note for --watch-path
Fixes: #66743 Signed-off-by: Yuki Motokane <216834584+motokaneyuki@users.noreply.github.com> Assisted-by: Claude PR-URL: #66749 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
1 parent caa48a3 commit 7a3c6c5

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

‎doc/api/cli.md‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4081,10 +4081,6 @@ and is incompatible with `--run`, as `--run` takes precedence and ignores watch
40814081
node --watch-path=./src --watch-path=./tests index.js
40824082
```
40834083

4084-
This option is only supported on macOS and Windows.
4085-
An `ERR_FEATURE_UNAVAILABLE_ON_PLATFORM` exception will be thrown
4086-
when the option is used on a platform that does not support it.
4087-
40884084
### `--watch-preserve-output`
40894085

40904086
<!-- YAML

‎doc/node.1‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2077,9 +2077,6 @@ and is incompatible with \fB--run\fR, as \fB--run\fR takes precedence and ignore
20772077
.Bd -literal
20782078
node --watch-path=./src --watch-path=./tests index.js
20792079
.Ed
2080-
This option is only supported on macOS and Windows.
2081-
An \fBERR_FEATURE_UNAVAILABLE_ON_PLATFORM\fR exception will be thrown
2082-
when the option is used on a platform that does not support it.
20832080
.
20842081
.It Fl -watch-preserve-output
20852082
Disable the clearing of the console when watch mode restarts the process.

0 commit comments

Comments
 (0)