1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 10:21:37 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

feat: fix

This commit is contained in:
steven
2023-03-30 12:50:33 +08:00
parent 12edc1df7a
commit 6fcfa0b505

View File

@@ -4,7 +4,7 @@ trap 'kill $RN_PID' EXIT
PLATFORM=$1 PLATFORM=$1
npm start & kill -9 $(lsof -i :8081 | awk '{print $2}' | tail -n +2) & npm start &
RN_PID=$! RN_PID=$!
sleep 2 && curl>/dev/null http://localhost:8081/index.bundle sleep 2 && curl>/dev/null http://localhost:8081/index.bundle
wait $RN_PID wait $RN_PID