summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-01-07 13:33:45 +0100
committerTor Andersson <tor@ccxvii.net>2022-01-07 13:33:55 +0100
commita059a95c67ba2ec65a5989f7870ee56958745bdc (patch)
treee07789d9071b357668e66e36fb78d4062b533adc
parentb98b25c4242f21178d8593438de5f5cafb899156 (diff)
downloadserver-a059a95c67ba2ec65a5989f7870ee56958745bdc.tar.gz
Add simpler restarting server script.
-rw-r--r--tools/run.sh7
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