Browse Source

nodemon: change python example to general example (#6956)

Red Headphone 3 years ago
parent
commit
07d3869a83
1 changed files with 6 additions and 2 deletions
  1. 6 2
      pages/common/nodemon.md

+ 6 - 2
pages/common/nodemon.md

@@ -23,6 +23,10 @@
 
 `nodemon {{arguments}} {{path/to/file.js}}`
 
-- Run non-node scripts:
+- Run an arbitrary non-node script:
 
-`nodemon --exec "{{python --verbose}}" {{path/to/file.py}}`
+`nodemon --exec "{{command_to_run_script}} {{options}}" {{path/to/script}}`
+
+- Run a Python script:
+
+`nodemon --exec "python {{options}}" {{path/to/file.py}}`