You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/api/cli.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -3056,7 +3056,7 @@ Use `--watch-path` to specify what paths to watch.
3056
3056
This flag cannot be combined with
3057
3057
`--check`, `--eval`, `--interactive`, or the REPL.
3058
3058
3059
-
Note: The `--watch` flag requires a file path as an argument. It does not support being used with `--run` or inline script input. If no file is provided, Node.js will throw an error.
3059
+
Note: The `--watch` flag requires a file path as an argument. It does not support being used with `--run` or inline script input. If no file is provided, Node.js will exit with status code 9.
0 commit comments