diff --git a/run.sh b/run.sh index 4663e34..f06574d 100644 --- a/run.sh +++ b/run.sh @@ -5,7 +5,8 @@ export webClient=http://localhost:5000 function run(){ nohup yarn start & - findPortPid $PORT>$PORT.log + pid=`findPortPid $PORT` + ech $pid>$pid.log } if [ -e *.pid ]