vscode-live-server: The Parameter is incorrect

I’m submitting a…

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior

When i try to launch the live server i get a pop up box saying http://127.0.0.1:5500/02.html

Expected behavior

I expect the browser to launch with some live reloading

Environment

Browser:

- [x ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: 4.1.0
- Platform:  Windows
- Visual Studio Code: 1.24.0

Others

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 29 (4 by maintainers)

Most upvoted comments

Build 17723 fixed it for me.

Same here on 17713, only works when Edge is default browser. Some background https://github.com/sindresorhus/opn/issues/95#issuecomment-393469429

Same here 😦 Probably is related to the last update of W10 Insider… I’m using build 17692 btw.

okay, I think, all of you using Windows Insider Version? We are using OPN npm library to open a browser. This saw an issue request on OPN with the same title. https://github.com/sindresorhus/opn/issues/95

I don’t think it’s a windows problem. I have no problem opening the chrome through vscode Task command, works like a charm. I’m using this code: { "taskName": "Open in Chrome", "isBuildCommand": true, "command": "Chrome", "windows": { "command": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe" }, "args": [ "http://localhost:5500/${relativeFile}" ] }

I got this from @RickStrahl’s blog

Okay, basically same as #120 #65

Set "liveServer.settings.CustomBrowser":"chrome"