options.txt 1.8 KB

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