|
8 | 8 | -w, --watch dir........... watch directory "dir" or files. use once for
|
9 | 9 | each directory or file to watch.
|
10 | 10 | -i, --ignore ............. ignore specific files or directories.
|
11 |
| - -q, --quiet .............. minimise nodemon messages to start/stop only. |
12 | 11 | -V, --verbose ............ show detail on what is causing restarts.
|
13 |
| - -I, --no-stdin ........... don't try to read from stdin. |
14 |
| - -C, --on-change-only ..... execute script on change only, not startup |
15 |
| - --no-colors .............. disable color output |
16 |
| - --signal <signal> ........ use specified kill signal instead of default (ex. SIGTERM) |
17 |
| - -d, --delay n ............ debounce restart for "n" seconds. |
18 |
| - --exitcrash .............. exit on crash, allows use of nodemon with daemon |
19 |
| - tools like forever.js. |
20 |
| - -v, --version ............ current nodemon version. |
21 |
| - -h, --help ............... you're looking at it. |
22 |
| - --help <topic> ........... help on a specific feature. Try "--help topics". |
23 | 12 | -- <your args> ........... to tell nodemon stop slurping arguments.
|
24 | 13 |
|
| 14 | + More options are available under: nodemon --help options |
| 15 | + |
25 | 16 | Note: if the script is omitted, nodemon will try to read "main" from
|
26 | 17 | package.json and without a nodemon.json, nodemon will monitor .js, .mjs, .coffee,
|
27 | 18 | and .litcoffee by default.
|
28 | 19 |
|
29 |
| - To learn more about nodemon.json config: nodemon --help config |
| 20 | + For advanced nodemon configuration use nodemon.json: nodemon --help config |
30 | 21 | See also the sample: https://github.com/remy/nodemon/wiki/Sample-nodemon.json
|
31 | 22 |
|
32 | 23 | Examples:
|
|
35 | 26 | $ nodemon -w ../foo server.js apparg1 apparg2
|
36 | 27 | $ nodemon --exec python app.py
|
37 | 28 | $ nodemon --exec "make build" -e "styl hbs"
|
38 |
| - $ nodemon app.js -- --inspect |
| 29 | + $ nodemon app.js -- --config # pass config to app.js |
39 | 30 |
|
40 |
| - For more details see http://github.com/remy/nodemon/ |
| 31 | + For more details see https://github.com/remy/nodemon/ |
0 commit comments