question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Live Server not reloading to display new changes

See original GitHub issue

I’m submitting a…

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

Current behavior

Live Server does not reload changes anymore, It only reloads and still show previous view, I would have to reload manually to get my new changes showing.

Expected behavior

Once I return to the browser, server ought to reload and show new changes

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: 5.2.0 <!-- Check which version is installed --> 
- Platform:  Windows <!-- Mac, Linux, Windows -->
- Visual Studio Code: 1.22.2 <!-- `code --version` -->

Others

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:5
  • Comments:68 (8 by maintainers)

github_iconTop GitHub Comments

13reactions
noobato1commented, Jul 14, 2020

SOLVED (For me at least)

In settings search for “useWebExt” en check you DON’T have it enabled. I just unchecked this and now it’s working!

13reactions
ritwickdeycommented, Nov 30, 2018

Oh. I got the issue. Valid JS tag is <script src="..."></script> not <script src="..." />

https://www.w3schools.com/tags/att_script_src.asp

Read more comments on GitHub >

github_iconTop Results From Across the Web

live server not reloading automatically · Issue #452 - GitHub
There's one thing that resolves the issue. ... Open settings. ... Search for 'autosave'. ... Set it to 'afterDelay'. ... Now search for...
Read more >
Live server not refreshing browser - Stack Overflow
First, open the Command Pallete with F1 , then type in Preferences: Open Settings (JSON) and select that option. This will open your...
Read more >
Visual Studio Code Live Server Not Working - freeCodeCamp
Restart VSCode · Set the browser for Live Server · Set the default browser for your operating system · Go to the live...
Read more >
live-server - npm
No reload on changes. Open your browser's console: there should be a message at the top stating that live reload is enabled. Note...
Read more >
VS Code Live Server Extension: How to Auto Reload ... - Morioh
Once you make changes in your code or write something new, after saving it, the browser will auto-refresh itself. Then you will be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found