Open maxbaez9 opened 11 months ago
I, too, have this problem. The only work-around I have found is to configure a custom command line in settings.js, e.g.: "liveServer.settings.AdvanceCustomBrowserCmdLine": "microsoft edge"
I've looked at the source code and in src/appModel.ts, in function openBrowser, there are tests for chrome on Darwin (MacOS) but not for Edge. As a result, the launch command (params[0]) that is used is incorrect. (In fact, it's probably incorrect on every platform except maybe Linux.) The above custom command line overrides the default parsing from the CustomBrowser setting.
I'm submitting a...
Current behavior
Live server will not open on microsoft edge when selected as the option under settings.
It works for any other browser, just not edge. If edge is not the default browser for my system nothing will open. But if i select "null" as the option and edge IS the system default browser then live server opens in edge.
Expected behavior
Live server opens in whichever browser is selected as default in the vs code settings, regardless of what is the default system browser
Environment
MacOS