auto restart file thingy
This commit is contained in:
parent
2c87014a81
commit
a96b0a99f4
1 changed files with 9 additions and 0 deletions
9
run.sh
Normal file
9
run.sh
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
FILE=run
|
||||||
|
NODE=node
|
||||||
|
|
||||||
|
while true;
|
||||||
|
do
|
||||||
|
$NODE $(pwd)/$FILE.js
|
||||||
|
done
|
Loading…
Reference in a new issue