Someday in the past, I had this problem because my folder is .something it starts with the "." the live server is not working. But now, my folder isn't like that but the Live Server isn't working right again when I hit save on my vscode.
Live server is not auto reload when i hit save on my Vscode
1.8k views Asked by Nguyễn Thế Sơn At
4
There are 4 answers
0
On
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
For me, I was trying to save a file that was not fully HTML.
I wrapped my code with proper HTML structure and now its working fine.