Browse Source

auto restart file thingy

master
monty 2 years ago
parent
commit
a96b0a99f4
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      run.sh

+ 9
- 0
run.sh View File

@@ -0,0 +1,9 @@
#!/bin/bash

FILE=run
NODE=node

while true;
do
$NODE $(pwd)/$FILE.js
done

Loading…
Cancel
Save