Skip to content

Commit 5816401

Browse files
motokaneyukiaduh95
authored andcommitted
doc: remove outdated platform note for --watch-path
Fixes: #66743 Signed-off-by: Yuki Motokane <[email protected]> Assisted-by: Claude PR-URL: #66749 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Ulises Gascón <[email protected]>
1 parent 4f2e200 commit 5816401

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
@@ -4002,10 +4002,6 @@ and is incompatible with `--run`, as `--run` takes precedence and ignores watch
40024002
node --watch-path=./src --watch-path=./tests index.js
40034003
```
40044004

4005-
This option is only supported on macOS and Windows.
4006-
An `ERR_FEATURE_UNAVAILABLE_ON_PLATFORM` exception will be thrown
4007-
when the option is used on a platform that does not support it.
4008-
40094005
### `--watch-preserve-output`
40104006

40114007
<!-- YAML

‎doc/node.1‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2035,9 +2035,6 @@ and is incompatible with \fB--run\fR, as \fB--run\fR takes precedence and ignore
20352035
.Bd -literal
20362036
node --watch-path=./src --watch-path=./tests index.js
20372037
.Ed
2038-
This option is only supported on macOS and Windows.
2039-
An \fBERR_FEATURE_UNAVAILABLE_ON_PLATFORM\fR exception will be thrown
2040-
when the option is used on a platform that does not support it.
20412038
.
20422039
.It Fl -watch-preserve-output
20432040
Disable the clearing of the console when watch mode restarts the process.

0 commit comments

Comments
 (0)