diff --git a/scripts/mac-linux/start b/scripts/mac-linux/start index 68977f6..8985013 100755 --- a/scripts/mac-linux/start +++ b/scripts/mac-linux/start @@ -1,6 +1,6 @@ #!/bin/bash -#change to ccurrent directory +#change to current directory cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" cd ../.. @@ -27,6 +27,7 @@ echo $num > log/number #watchdog while true do + #increment log file number num=$(( num + 1 )) echo $num > log/number @@ -35,6 +36,7 @@ do npm start 2> log/$num.err | tee log/$num.out #give chance to close program - sleep 5 printf "\n\n\n${C1}press ${C2}Control+C${C1} to close${NC}\n\n\n" + sleep 5 + done \ No newline at end of file