diff --git a/run.sh b/run.sh index 63b63d7..07ad613 100644 --- a/run.sh +++ b/run.sh @@ -5,6 +5,7 @@ export webClient=http://localhost:5000 function run(){ nohup yarn start & + sleep 5s pid=`findPortPid $PORT` echo "pid is $pid" touch $pid.log && chmod +x $pid.log @@ -24,5 +25,4 @@ then fi else run -fi - +fi \ No newline at end of file