mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-22 06:41:45 +08:00
Vite appears to consider a port value of `0` as a falsy value and use the default Vite port of `5173` when zero is used as a value for the development server port option. To workaround this issue, the port checker code now explicitly handles the zero value case and determines a random port as would be done automatically by the Webpack-based development server.