nodemon: make --inspect a generic example (#6629)
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
- Execute the specified file and watch a specific file for changes:
|
- Execute the specified file and watch a specific file for changes:
|
||||||
|
|
||||||
`nodemon --inspect {{path/to/file.js}}`
|
`nodemon {{path/to/file.js}}`
|
||||||
|
|
||||||
- Manually restart nodemon (note nodemon must already be active for this to work):
|
- Manually restart nodemon (note nodemon must already be active for this to work):
|
||||||
|
|
||||||
@@ -19,6 +19,10 @@
|
|||||||
|
|
||||||
`nodemon {{path/to/file.js}} {{arguments}}`
|
`nodemon {{path/to/file.js}} {{arguments}}`
|
||||||
|
|
||||||
|
- Pass arguments to node itself if they're not nodemon arguments already (e.g. `--inspect`):
|
||||||
|
|
||||||
|
`nodemon {{arguments}} {{path/to/file.js}}`
|
||||||
|
|
||||||
- Run non-node scripts:
|
- Run non-node scripts:
|
||||||
|
|
||||||
`nodemon --exec "{{python --verbose}}" {{path/to/file.py}}`
|
`nodemon --exec "{{python --verbose}}" {{path/to/file.py}}`
|
||||||
|
Reference in New Issue
Block a user