@ -3,13 +3,18 @@
function run(){
nohup yarn start &
pid=-1
while true
while(( pid==-1 ))
do
sleep 1s
pid=`findPortPid $webPort`
if [ pid -eq '' ]
then
echo pid not found!!!
else
echo "pid is $pid"
break
done
touch $pid.log && chmod +x $pid.log
}