Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -2286,7 +2286,7 @@ added: v0.1.3

Print node's version.

### `--watch`
### `-w`, `--watch`

<!-- YAML
added:
Expand Down
1 change: 1 addition & 0 deletions src/node_options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,7 @@ EnvironmentOptionsParser::EnvironmentOptionsParser() {
"run in watch mode",
&EnvironmentOptions::watch_mode,
kAllowedInEnvvar);
AddAlias("-w", "--watch");
AddOption("--watch-path",
"path to watch",
&EnvironmentOptions::watch_mode_paths,
Expand Down