This commit is contained in:
vet
2026-04-14 12:02:15 +07:00
parent 11561c9775
commit bb4c3273ca
2 changed files with 25 additions and 0 deletions

View File

@@ -155,6 +155,9 @@ _start_fe() {
sleep 2
if [[ -f "$pidfile" ]] && kill -0 "$(cat "$pidfile")" 2>/dev/null; then
success "$name (PID=$(cat "$pidfile")) ${FE_PORT[$name]}$logfile"
if [[ "$name" == "pc" ]]; then
pc_check_wasm_assets "http://${DEPLOY_TEST_IP}:5173"
fi
else
error "$name 启动失败,查看日志:"
tail -20 "$logfile" 2>/dev/null || true