Open adebowaleodulaja opened 6 years ago
i am experiencing the same issue OS: macOS High Sierra Browser: Firefox, Chrome, Safari Live-server: live-server 1.2.0
same here: macOS High Sierra Chrome live-server 1.2.0
I had the same problem and discovered that my reload wasn't working because my html (which is only for a ver minimalist example, not production code) didn't have any of the HTML tags live reload needs in order to inject its script.
Execute with --verbose
and check the execution logs to check if that's the case.
Thanks for the suggestion jdvivar. No luck though. Logs are not showing errors with or without --verbose.
Same problem here: OS: macOS High Sierra Browser: Firefox, Chrome Live-server: 1.2.0 Tried on multiple repos. Restarted all apps. Tried different ports. Terminal shows "Ready for changes" Browser shows "Live reload enabled." Shows "Code injected by live-server" and script below ...
Same problem. OS: macOS High Sierra Browser: Firefox, Chrome Live-Server: 1.2.0
live-server shows update in terminal but not reloading in browser. The usual javascript injected by live server is not showing when I 'View Source', nor is Live reload enabled showing in chrome or firefox's dev tools.
Today live-reload not working, I change my wifi setting; first choose your favorite settings→network→senior→
change your DNS address, live-server is working normally!!! I hope to help you @rajiv-shankar @jdvivar @codeannie
Kindly make sure the html file includes tags such as <head></head> <body></body>
for atuo reload. Happy coding.
I've also stumbled across this issue a while ago and I couldn't figure out why sometimes the browser does reload the page and sometimes it doesn't. I use mostly live-server when writing markdown documents and while I setup Neovim to run pandoc
on the current file when I save it.
The weird thing is, that when the live-server
process is running from within Neovim's :terminal
, the browser doesn't reload, but if it's running from say a different Tmux pane, the browser does reload!
This could be an issue specific to Neovim but I have no idea how would it be clear enough to report it. I have no explanation for this weird behavior but ever since I'm aware of it, I'm no longer frustrated when I don't see the changes in my browser.
I hope this helps.
In my case it detects the change but doesn't reflect it.
I added a console.log, it prints 'Change detected', but when I execute the code doesn't print it.
OS: win32 Browser: Chrome Live Server: 1.2.1
In my case, the live-server reloads the page only when I make changes in my HTML, it doesn't detect changes in css or js
I'm having a difficult time finding the appropriate issues that I'm facing. The auto-reload feature is working only when the file I'm editing is saved.
live-server is installed globally. I haven't made any changes to the default config, ~/.live-server.json
does not exist in my home directory.
Firefox console shows Live reload enabled
.
Any help would be appreciated! :)
Still having this issue!!
Still having this issue despite making the aforementioned changes
Before submitting an issue, please, see https://github.com/tapio/live-server#troubleshooting
Issue description
live-server watches changes but not taking effect on the browser (I've used both Google Chrome and Mozilla Firfox), I have to click refresh each time I make changes to my code.
Software details
live-server
: live-server public (the folder to serve up)live-server
version: live-server 1.2.0