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.71k stars 1.25k forks source link

Browser window opens looong after starting server #2893

Open VAggrippino opened 7 months ago

VAggrippino commented 7 months ago

I'm submitting a...

- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [x] Bug report
- [ ] Feature request
- [ ] Documentation issue or request
- [ ] Other:

Current behavior

When I click the "Go Live" button/link, the server starts immediately so I can manually open a new browser window to localhost:5500 and see my page, but the browser tab doesn't automatically open until many minutes (5-15 ... I didn't actually time it) later.

Some time later, while I'm working, a new browser tab will open suddenly.

This is a fairly recent change in behavior. It may have happened within the last 2 weeks. I don't really pay attention to VSCode or extension updates. I just kinda reload when I see the indicator and don't think much about it 😅

Expected behavior

A new browser tab should open a few seconds after clicking "Go Live".

Environment

Browser:

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

For Tooling issues:

- Live Server: 5.7.9
- Platform:  Windows (WSL Ubuntu 22.04.2)
- Visual Studio Code:
    ❯ code --version
    1.86.1
    31c37ee8f63491495ac49e43b8544550fbae4533
    x64

Others

I doubt this matters, but I always start VSCode from the command line in WSL using code . I'm using Zsh's cdpath, so my habit is to start my session with <project name> && code ..