[x] 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
Right-click on the filename in the explorer or directly on the file and select "Open with Live Server the browser window opens on the root index.html file instead. This is persistent across multiple repositories and different projects and happens both in CodeSpaces and on local VS Code
Expected behavior
"Open with Live Server" should open the selected file in the browser.
right-click deposit.html and select "Open with Live Server"
The root /docs/index.html loads in the browser
Environment
Browser:
- [x] Chrome (desktop) version XX
- [x] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Live Server: v5.7.9 <!-- Check which version is installed -->
- Platform: GitHub Codespaces
- Visual Studio Code: GitHub Codespaces<!-- `code --version` -->
I'm submitting a...
Current behavior
Right-click on the filename in the explorer or directly on the file and select "Open with Live Server the browser window opens on the root
index.html
file instead. This is persistent across multiple repositories and different projects and happens both in CodeSpaces and on local VS CodeExpected behavior
"Open with Live Server" should open the selected file in the browser.
Real-world example
/docs/chapter02/02_03b/
deposit.html
and select "Open with Live Server"/docs/index.html
loads in the browserEnvironment
Others