From a059a95c67ba2ec65a5989f7870ee56958745bdc Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 7 Jan 2022 13:33:45 +0100 Subject: Add simpler restarting server script. --- tools/run.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tools/run.sh (limited to 'tools/run.sh') 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 -- cgit v1.2.3