source: node_modules/nodemon/doc/cli/options.txt

main
Last change on this file was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago

Initial commit

  • Property mode set to 100644
File size: 1.8 KB
Line 
1
2Configuration
3 --config <file> .......... alternate nodemon.json config file to use
4 --exitcrash .............. exit on crash, allows nodemon to work with other watchers
5 -i, --ignore ............. ignore specific files or directories
6 --no-colors .............. disable color output
7 --signal <signal> ........ use specified kill signal instead of default (ex. SIGTERM)
8 -w, --watch path ......... watch directory "dir" or files. use once for each
9 directory or file to watch
10 --no-update-notifier ..... opt-out of update version check
11
12Execution
13 -C, --on-change-only ..... execute script on change only, not startup
14 --cwd <dir> .............. change into <dir> before running the script
15 -e, --ext ................ extensions to look for, ie. "js,pug,hbs"
16 -I, --no-stdin ........... nodemon passes stdin directly to child process
17 --spawn .................. force nodemon to use spawn (over fork) [node only]
18 -x, --exec app ........... execute script with "app", ie. -x "python -v"
19 -- <your args> ........... to tell nodemon stop slurping arguments
20
21Watching
22 -d, --delay n ............ debounce restart for "n" seconds
23 -L, --legacy-watch ....... use polling to watch for changes (typically needed
24 when watching over a network/Docker)
25 -P, --polling-interval ... combined with -L, milliseconds to poll for (default 100)
26
27Information
28 --dump ................... print full debug configuration
29 -h, --help ............... default help
30 --help <topic> ........... help on a specific feature. Try "--help topics"
31 -q, --quiet .............. minimise nodemon messages to start/stop only
32 -v, --version ............ current nodemon version
33 -V, --verbose ............ show detail on what is causing restarts
34
35
36> Note that any unrecognised arguments are passed to the executing command.
Note: See TracBrowser for help on using the repository browser.