ritwickdey / vscode-live-server

Launch a development local Server with live reload feature for static & dynamic pages.
https://ritwickdey.github.io/vscode-live-server
MIT License
5.57k stars 1.2k forks source link

Live Server doesn't load my codespace #2936

Closed informationmissing closed 2 months ago

informationmissing commented 2 months ago

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 you press "GoLive" or when you rightclick a html flie in codespace and choose Open with Live Server you're taken to a page titled CSS: Scrolling & Parallax (not the codespace i'm playing with). And shown a page with demo code from a linkedin Learning page about CSS: Scrolling &Parallax. the site is purple and is called LiL Monsters

image

Expected behavior

When you press GoLive or rightclick an html file in codespace and choose Open with Live Server, the live server should open the displayed html, or the html of the file you right clicked.

Environment

Browser:

- [x ] Chrome (desktop) version Version 124.0.6367.119 (Official Build) (64-bit)
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: <!-- Check which version is installed --> 
- Platform:  <!-- Mac, Linux, Windows -->
- Visual Studio Code: <!-- `code --version` -->

Others

informationmissing commented 2 months ago

I found the issue in the person who created my lesson's code. This is not an issue with LiveServer, but with the set up in the codespace I copied.