Serves the built app on port 4173 and exposes it to the local network with --host. Testing the production bundle from a phone catches issues that the dev server masks. Use --strictPort if you want an error instead of a port fallback.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.