open browser after app started
See original GitHub issueIs there plan to add automatically open browser after app started?
This feature is in create-react-app and would be nice to have that too, do you agree?
Nice example:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ Storybook 5.3.18 started โ
โ 18 s for manager and 14 s for preview โ
โ โ
โ Local: http://localhost:9001/ โ
โ On your network: http://192.168.0.213:9001/ โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Issue Analytics
- State:
- Created 3 years ago
- Reactions:22
- Comments:8 (4 by maintainers)
Top Results From Across the Web
How to open browser to localhost through npm scripts
"start": "open http://localhost:3000 && npm run build && npm run dev",. Works on macOS. You might need to refresh browser window after server...
Read more >Auto launch browser on localhost after app start with ng serve
This is a super quick tutorial to show how to automatically open the browser on localhost after starting an app with Angular CLI....
Read more >How to Automatically Open a Browser when Computer Starts
Add functionality to your computer and automatically open a browser when the computer starts. Open Google, YouTube, Amazon, Ebay or Reddit orย ...
Read more >How to make any browser or program open automatically on ...
If you want any browser or any program to open automatically when you turn on your computer, the easiest way is, you must...
Read more >Make Chrome your default browser - Computer
To exit, close the settings window. ... Open your default apps: Original version: Click System and then Default apps. Creators Update: Click Apps...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Weโre not planning to add automatically opening the browser at this point (keeping the CLI minimal and features contained).
I think I prefer this way: https://github.com/vercel/next.js/discussions/13448#discussioncomment-527837
So, in your package.json, the dev script, just modify to something like this:
"dev": "open http://localhost:3000 && next dev"