auto restart file thingy

This commit is contained in:
monty 2019-11-30 14:48:51 +01:00
parent 2c87014a81
commit a96b0a99f4

9
run.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
FILE=run
NODE=node
while true;
do
$NODE $(pwd)/$FILE.js
done