fix(test): add --strict-port to force Vite to use port 3050
Vite was detecting port conflicts and switching to different ports Added --strict-port flag to force Vite to use exactly port 3050 This works with kill_port() function to ensure port is available
This commit is contained in:
parent
df7c57ea6d
commit
2a36bc2de3
@ -87,7 +87,7 @@ echo "========================================="
|
||||
|
||||
# Start dev server in background
|
||||
SERVER_PID=""
|
||||
pnpm dev -- --port $PORT > "$REPORTS_DIR/server-$TIMESTAMP.log" 2>&1 &
|
||||
pnpm dev -- --port $PORT --strict-port > "$REPORTS_DIR/server-$TIMESTAMP.log" 2>&1 &
|
||||
SERVER_PID=$!
|
||||
|
||||
# Save PID for cleanup
|
||||
|
||||
Loading…
Reference in New Issue
Block a user