I'm trying to serve a React project live on chrome, but it always opens on Microsoft Edge.
Following some answers, I changed the settings like so:
"liveServer.settings.CustomBrowser": "chrome"
"open-in-browser.default": "chrome"
But it still uses Edge.
Best Answer
Windows actively "protects" the default app settings from change by anything but the end user. Reference.
The end user will need to change the default browser or application for type .html files
or you will need to include instructions for the end user on how to do this.
or you will need to include a small stub program that calls the Chrome executable with the html file as an argument, to launch the program.