Last active
August 3, 2020 18:22
-
-
Save jalakoo/f12cda7396046b3a9ef96db7bc8a2e46 to your computer and use it in GitHub Desktop.
Simple nodemon script that allows for deploy & start upon file save.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# To make this file executable from the command line, enter: `chmod +x hot-reload.sh` | |
nodemon -x "./reload.sh" --ext py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample
reload.sh
file: