I've looked all over for a solution and haven't found one. I'm currently on W11 and have WSL installed via the Microsoft store (Ubuntu 22.04.1 LTS). I have been trying to get live server to open a new tab automatically on the WSL side. But it doesn't. If I manually navigate to the address, it works fine. But it's just a slight inconvenience and it USED to work. But I don't know why it randomly stopped opening a new tab.
It also works fine if I open a folder that is on the Windows side.
Things I have tried:
Completely reinstalling VsCode
Reinstalling Live server extension.
Even reinstalled WSL recently
Wrote a direct path to the msedge.exe in vscode settings like this
"liveServer.settings.AdvanceCustomBrowserCmdLine": "/mnt/c/Program Files (x86)/MicrosoftEdge/Application/msedge.exe" "liveServer.settings.CustomBrowser": "microsoft-edge",Did a bunch of reboots and restarts in between all of these to make sure it was fresh.
Apologies as I know this has been asked a few times, but I'm really out of ideas.
Strangely enough five-server extension works fine-ish. But I'd really like to figure this out.
Thank you for your help.