Reproduce vite-server-port-zero from its authentic engineer request.
Reproduce vite-server-port-zero from its authentic engineer request.: a task in vite-selfbench (Harbor dataset). Fix the dev server so server.port = 0 retains Node's standard meaning. Starting a server with a numeric zero must ask the OS for an available ephemeral port instead of treating the…
The task
Fix the dev server so `server.port = 0` retains Node's standard meaning. Starting a server with a numeric zero must ask the OS for an available ephemeral port instead of treating the value as missing and substituting Vite's default port. This must work through the public `createServer`/`listen` flow even when…
Part of dari-ai/vite-selfbench.