@ -2,21 +2,7 @@
function run(){
nohup yarn start &
while true
do
pid=`findPortPid $PORT`
if [ -z $pid ]
then
echo "pid not found!!!"
sleep 1s
else
echo "pid is $pid"
break
fi
done
touch $pid.log && chmod +x $pid.log
savePid $PORT
}
killNode run