mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-30 17:33:50 +08:00
nodemon: refresh page (#18126)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# nodemon
|
||||
|
||||
> Watch files and automatically restart a node application when changes are detected.
|
||||
> More information: <https://nodemon.io>.
|
||||
> More information: <https://github.com/remy/nodemon/tree/main/doc/cli>.
|
||||
|
||||
- Execute the specified file and watch a specific file for changes:
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
- Ignore specific files:
|
||||
|
||||
`nodemon --ignore {{path/to/file_or_directory}}`
|
||||
`nodemon {{[-i|--ignore]}} {{path/to/file_or_directory}}`
|
||||
|
||||
- Pass arguments to the node application:
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
- Run an arbitrary non-node script:
|
||||
|
||||
`nodemon --exec "{{command_to_run_script}} {{options}}" {{path/to/script}}`
|
||||
`nodemon {{[-x|--exec]}} "{{command_to_run_script}} {{options}}" {{path/to/script}}`
|
||||
|
||||
- Run a Python script:
|
||||
|
||||
`nodemon --exec "python {{options}}" {{path/to/file.py}}`
|
||||
`nodemon {{[-x|--exec]}} "python {{options}}" {{path/to/file.py}}`
|
||||
|
||||
Reference in New Issue
Block a user