test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user