1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 17:06:01 +02:00

nodemon: add page (#4308)

This commit is contained in:
Evan Boehs 2020-09-08 19:45:43 -04:00 committed by GitHub
parent b6b5997b6c
commit 48074e07e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
pages/common/nodemon.md Normal file
View file

@ -0,0 +1,24 @@
# nodemon
> Watch files and automatically restart a node application when changes are detected.
> More information: <https://nodemon.io>.
- Execute the specified file and watch a specific file for changes:
`nodemon --inspect {{path/to/file.js}}`
- Manually restart nodemon (note nodemon must already be active for this to work):
`rs`
- Ignore specific files:
`nodemon --ignore {{path/to/file_or_directory}}`
- Pass arguments to the node application:
`nodemon {{path/to/file.js}} {{arguments}}`
- Run non-node scripts:
`nodemon --exec "{{python --verbose}}" {{path/to/file.py}}`