Feat: add --open
to deno serve
to open server in browser
#25149
Labels
feat
new feature (which has been agreed to/accepted)
Most dev servers allow you to pass
--open
to open the page automatically in the browser. It's a neat minor DX enhancement compared to having to click the link yourself.When passing
deno serve --open
the browser should open the address where the server is running on. Vite goes a bit the extra mile to ensure that the same tab is re-used via some apple script vodoo https://github.com/vitejs/vite/blob/561b940f6f963fbb78058a6e23b4adad53a2edb9/packages/vite/src/node/server/openBrowser.ts#L71-L141The text was updated successfully, but these errors were encountered: