When I save a python source code file, I want to re-run the script. Is there a command that works like this (sort of like nodemon for node)?
I just use npx nodemon pythonfile.py and it works.Make sure you are using nodemon v2.0.x or above
npx nodemon pythonfile.py