From 07d3869a83517074a4900a7c48a0f44c744cc355 Mon Sep 17 00:00:00 2001 From: Red Headphone <55500003+RedHeadphone@users.noreply.github.com> Date: Thu, 21 Oct 2021 12:58:19 +0530 Subject: [PATCH] nodemon: change python example to general example (#6956) --- pages/common/nodemon.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/common/nodemon.md b/pages/common/nodemon.md index be8ecd03e2..597f41b425 100644 --- a/pages/common/nodemon.md +++ b/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}}`