diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-01-07 13:33:45 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-01-07 13:33:55 +0100 |
commit | a059a95c67ba2ec65a5989f7870ee56958745bdc (patch) | |
tree | e07789d9071b357668e66e36fb78d4062b533adc | |
parent | b98b25c4242f21178d8593438de5f5cafb899156 (diff) | |
download | server-a059a95c67ba2ec65a5989f7870ee56958745bdc.tar.gz |
Add simpler restarting server script.
-rw-r--r-- | tools/run.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/run.sh b/tools/run.sh new file mode 100644 index 0000000..efadfe7 --- /dev/null +++ b/tools/run.sh @@ -0,0 +1,7 @@ +#!/bin/bash +while true +do + nodemon --exitcrash server.js + echo Restarting soon... + sleep 3 +done |