vscode-live-server
vscode-live-server copied to clipboard
live server not reloading automatically
I'm submitting a...
[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
[x] Documentation issue or request
## Current behavior
live server not reloading automatically
## Expected behavior
it reload without manually reloading the browser
## Environment
```html
Browser:
- [x] Chrome (desktop) version
- [x] Firefox version
For Tooling issues:
- Live Server: 5.6.1
- Platform: Windows
- Visual Studio Code: 1.33.1
Can anybody please answer me???
Same goes for me. I noticed it recently. Live server would serve the file in the browser, but it would not refresh the browser automatically upon saving the file.
What I've tried:
- Unistalled live server
- Unistalled VSCode
- Deleted ritwickdey.liveserver-5.6.1 from C:\Users\USERNAME\extensions\ritwickdey.liveserver-5.6.1
SOLVED
In my case:
I had my HTML file inside a folder, which name starts with a period .
Don't do this 👇
http://127.0.0.1:5500/.folder/index.html
I'm experiencing the same problem here. I think the recent VSCode update made it unworking as expected. Before updating, it worked well.
I'm experiencing the same problem here. I think the recent VSCode update made it unworking as expected. Before updating, it worked well.
Yes, the recent update has broken it
Hi, I have the same problems. Auto-refreshing isn´t working.
My enviroment: Windows 10. VSCode 1.35.1 (I have also tried in 1.34 and it didn't work either) Live server: 5.6.1 Browser: Chrome aor Firefox (I have tried in both of them)
I have tried re-installing, and deleting the files from extension file for a completed resetting. Any solution?
I too have the same problem . Live reload not working
Chrome Version: 75.0.3770.100 (Official Build) (64-bit) Vscode version 1.36 Live server version 5.6.1
I had the same issue and my problem was that my html file wasn't encoded in utf8
I had the same issue. Until now, i couldn't figure out what's the problem. My environment: Windows 10 Chrome Version: 76.0.3809.100 (Official Build) (64-bit) VSCode 1.36.1 Live Server 5.6.1
So far, it's been a random occurrence for me when i encounter this "page doesn't reload automatically". I sometimes have it working after i click save, but only after a couple of minutes until the "auto-reload" doesn't work anymore. When i restarted my computer, it's a 50/50 chance that LiveServer will work correctly. Right now, i dont have a reliable solution as what may causing this problem. I think it could be my Windows 10, but i don't know how to check it.
Make sure to save your workspace configuration then it will work.
Having the same problem after updating to 1.37.1, tried deleting ritwickdey.liveserver-5.6.1 from C:\Users\USERNAME\extensions\ritwickdey.liveserver-5.6.1, and re-installing VS CODE, but not working yet as well.
It only refreshes after I save the doc for me.
It only refreshes after I save the doc for me.
Had the same issue. Was solved by changing autosave option in setting to afterDelay.
Make sure meta charset = "UTF-8" is in the head.
Make sure meta charset = "UTF-8" is in the head.
Worked For Me, Thanks Man
Works on my work computer, not my personal computer. , refreshed, reloaded, uninstalled & re-installed several different ways. Still not auto-refreshing. Console says "live reload enabled"... I've narrowed my open folders to just one,...
I had the same issue and my problem was that my html file wasn't encoded in utf8
thanks bro, it worked
I was having the same issue.
It seems to work fine if I open a specific file with Live Server by either the Ctrl-Shift-P
Command Pallet, Right-click menu, or Alt-L Alt-O
key command. It doesn't work properly if I start Live Server by clicking "Go Live" in the status bar at the bottom.
Hope this helps someone!
I was having the same issue.
It seems to work fine if I open a specific file with Live Server by either the
Ctrl-Shift-P
Command Pallet, Right-click menu, orAlt-L Alt-O
key command. It doesn't work properly if I start Live Server by clicking "Go Live" in the status bar at the bottom.Hope this helps someone!
This really works.
Anyone able to get Live Server to update in Chrome?
Mine is working.
On Tue, Dec 24, 2019, 20:32 Ronney Vargas [email protected] wrote:
Anyone able to get Live Server to update in Chrome?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ritwickdey/vscode-live-server/issues/452?email_source=notifications&email_token=AGIN2DIXLPG5S34G3ZF2Y53Q2JITLA5CNFSM4HISWZDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHTQP3Y#issuecomment-568788975, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGIN2DNZ4VHVWVRB2UEKIWLQ2JITLANCNFSM4HISWZDA .
I really like this extension and have used it for a long time. Tonight it does not reload and I need to a hard refresh to get current page.
Reinstalled and checked for updates to no avail.
Would love to get it back working as I really like it!
Thanks for all the work you have put in.
Craig
Was having the same issue. Looks like it was as simple as how I was opening the file. When I go to File > Open Folder, it seems to work every time. When I open the individual files, it doesn't work. This thread was the key, Thank you!
I just found this, and then randomly at the same time I noticed a notification in vscode telling me that live reload isn't possible without head
and body
(I was editing a file that's just an html fragment)
I've been having the issues on two different computers, both using Windows 10.
Both times, my CSS file was not updating. My html file was updated, but oddly enough, not CSS.
This was fixed by hard refreshing to show changes.
There's one thing that resolves the issue. • Open settings. • Search for 'autosave'. • Set it to 'afterDelay'. • Just below that, set the AutoSaveDelay to anything very less like 5 (I have set it to 1) • Now search for 'Wait' in settings. • In LiveServer > Settings:Wait, set the value very low (e.g. 3). This should help regardless of platforms :)
SOLVED I have the same problem, like @pordemoni , the name of my folder starts with '#', change the start character for a letter and the problem was solved.
@yednaphsotnas Thanks, dude.
I NGINX server and able to load my website using proxy, but it does reload if i make change & save in a html.twig file. Please help!
Live Server não atualiza após salvar arquivo html via vscode
Versões:
- Live Server v5.6.1
- VSCode v1.42.1
Tentativas de reparo:
-
Desativado "onSave" para "off"
-
Reinstalado Live Server
-
Restart no VSCode
-
salvamento automático: afterDelay
-
AutoSaveDelay: 1
-
LiveServer Wait: 1
-
Removido a pasta: .vscode/ritwickdey.liveserver-5.6.1
Alguém tem uma solução por favor?