Created
June 18, 2017 14:45
-
-
Save Senither/646d386c16b64137e2c2e9aa3f76f1ca to your computer and use it in GitHub Desktop.
Starts a node application in the current folder and clears the window at the same time
This file contains 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 | |
while true; do | |
clear && npm start | |
echo "" | |
echo "The application has been stopped, and will restart in 5 seconds." | |
echo "Press Ctrl+C to interrupt the process." | |
sleep 5 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment