Skip to content

Commit

Permalink
docs: changed verbose logging and CLI documentation to reflect suppor…
Browse files Browse the repository at this point in the history
…t single file watch functionality
  • Loading branch information
Concision authored and remy committed Jan 22, 2020
1 parent c279760 commit 9bd07eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/cli/help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
--config file ............ alternate nodemon.json config file to use
-e, --ext ................ extensions to look for, ie. js,pug,hbs.
-x, --exec app ........... execute script with "app", ie. -x "python -v".
-w, --watch path.......... watch directory "path" or files. use once for
-w, --watch path ......... watch directory "path" or files. use once for
each directory or file to watch.
-i, --ignore ............. ignore specific files or directories.
-V, --verbose ............ show detail on what is causing restarts.
Expand Down
2 changes: 1 addition & 1 deletion doc/cli/options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Configuration
-i, --ignore ............. ignore specific files or directories
--no-colors .............. disable color output
--signal <signal> ........ use specified kill signal instead of default (ex. SIGTERM)
-w, --watch dir........... watch directory "dir" or files. use once for each
-w, --watch path ......... watch directory "dir" or files. use once for each
directory or file to watch
--no-update-notifier ..... opt-out of update version check

Expand Down
2 changes: 1 addition & 1 deletion lib/nodemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function nodemon(settings) {
}).filter(Boolean).join(' ');
if (ignoring) utils.log.detail('ignoring: ' + ignoring);

utils.log.info('watching dir(s): ' + config.options.monitor.map(function (rule) {
utils.log.info('watching path(s): ' + config.options.monitor.map(function (rule) {
if (rule.slice(0, 1) !== '!') {
try {
rule = path.relative(process.cwd(), rule);
Expand Down

0 comments on commit 9bd07eb

Please sign in to comment.