+7
-0
lines changedFilter options
+7
-0
lines changed Original file line number Diff line number Diff line change
@@ -3076,6 +3076,10 @@ Use `--watch-path` to specify what paths to watch.
3076
3076
This flag cannot be combined with
3077
3077
`--check`, `--eval`, `--interactive`, or the REPL.
3078
3078
3079
+
Note: The `--watch` flag requires a file path as an argument and is incompatible
3080
+
with `--run` or inline script input, as `--run` takes precedence and ignores watch
3081
+
mode. If no file is provided, Node.js will exit with status code `9`.
3082
+
3079
3083
```bash
3080
3084
node --watch index.js
3081
3085
```
@@ -3103,6 +3107,9 @@ combination with `--watch`.
3103
3107
This flag cannot be combined with
3104
3108
`--check`, `--eval`, `--interactive`, `--test`, or the REPL.
3105
3109
3110
+
Note: Using `--watch-path` implicitly enables `--watch`, which requires a file path
3111
+
and is incompatible with `--run`, as `--run` takes precedence and ignores watch mode.
3112
+
3106
3113
```bash
3107
3114
node --watch-path=./src --watch-path=./tests index.js
3108
3115
```
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4