diff --git a/doc/cli/help.txt b/doc/cli/help.txt index 4d34ae12..7ba4ff2a 100644 --- a/doc/cli/help.txt +++ b/doc/cli/help.txt @@ -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. diff --git a/doc/cli/options.txt b/doc/cli/options.txt index af0edb5a..598ae63b 100644 --- a/doc/cli/options.txt +++ b/doc/cli/options.txt @@ -5,7 +5,7 @@ Configuration -i, --ignore ............. ignore specific files or directories --no-colors .............. disable color output --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 diff --git a/lib/nodemon.js b/lib/nodemon.js index 0f60e599..b3badea7 100644 --- a/lib/nodemon.js +++ b/lib/nodemon.js @@ -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);