diff --git a/pages/common/nodemon.md b/pages/common/nodemon.md index 597f41b425..a4a5b571f7 100644 --- a/pages/common/nodemon.md +++ b/pages/common/nodemon.md @@ -1,7 +1,7 @@ # nodemon > Watch files and automatically restart a node application when changes are detected. -> More information: . +> More information: . - 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}}`