We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6b87b7 commit b34c59eCopy full SHA for b34c59e
doc/api/cli.md
@@ -3056,9 +3056,9 @@ Use `--watch-path` to specify what paths to watch.
3056
This flag cannot be combined with
3057
`--check`, `--eval`, `--interactive`, or the REPL.
3058
3059
-Note: The `--watch` flag requires a file path as an argument. It does not support
3060
-being used with `--run` or inline script input. If no file is provided, Node.js will
3061
-exit with status code `9`.
+Note: The `--watch` flag requires a file path as an argument and is incompatible
+with `--run` or inline script input, as `--run` takes precedence and ignores watch
+mode. If no file is provided, Node.js will exit with status code `9`.
3062
3063
```bash
3064
node --watch index.js
0 commit comments