Can not open browser in WSL when `server.open: true`
See original GitHub issueDescribe the solution you’d like
Open browser in WSL when server.open: true
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
bash - Open browser in host system from Windows Subsystem ...
First open your browser and open file://wsl.localhost/ and lets just say you want to open Ubuntu-20.04 then you can change that URL to ......
Read more >WSL (Ubuntu): how to open localhost in browser from bash ...
You can invoke the Windows command line from Bash and use Windows file association to open URL with the default Windows browser.
Read more >Troubleshooting Windows Subsystem for Linux | Microsoft Learn
Open Control Panel -> Programs and Features -> Turn Windows Feature on or off -> Check Windows Subsystem for Linux or using the...
Read more >Systemd support lands in WSL – unleash the full ... - Ubuntu
This method allows us to work on multiple web projects simultaneously and access them all via the browser with no fuss. If you...
Read more >Using C++ and WSL in VS Code
This tutorial does not teach you about GCC or Linux or the C++ language. ... The code . command opened VS Code in...
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
@theprimone
Yep, strange indeed… Should work fine even if
BROWSER
is not set at all, as it just callspowershell.exe
withStart http://mysite.com
in that case 🤔@jonaskuske
It’s empty when I run
echo $BROWSER
in WSL.And I also try
BROWSER=firefox vite
, it will open firefox browser, I don’t understand how it open browser correctly only by name likechrome
orfirefox
😂