auto restart file thingy

This commit is contained in:
monty 2019-11-30 14:48:51 +01:00
parent 2c87014a81
commit a96b0a99f4
1 changed files with 9 additions and 0 deletions

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