-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No reload after html changes #120
Comments
@toojee Do you have any updates or conclusions regarding the issue (#120)? I have been able to reproduce it today: $ bundle exec guard
/Users/jibiel/.rvm/gems/ruby-2.2.3@global/gems/guard-livereload-2.4.0/lib/guard/livereload/reactor.rb:48: warning: epoll is not supported on this platform
19:59:18 - INFO - Guard is now watching at '/Users/jibiel/Development/ruby/github/guard/guard-livereload/issues/120'
19:59:55 - INFO - Reloading browser: index.html
20:03:15 - INFO - Reloading browser: index.md It gives the output but the actual tab is not reloading, although the changes are there — you can see them if you hit You can spot Also I'm on OS X, you're on Windows, so I'm guessing this is not platform-related. |
Just double check, there are two LiveReload extensions available on Chrome webstore > just make sure you are using the remote (if you are working on a remote server) > https://chrome.google.com/webstore/search/livereload?hl=en-US |
Yes, we're talking about |
The last command is (from the logs): This means if it's not reloading, the problem is in the livereload.js files. The next time the web page doesn't refresh, you may want to set a JavaScript breakpoint in the browser at Maybe there are console errors in the browser? You can also add debugs on the Let me know, so I can add more useful debugs here and there locate the problem. |
@jibiel - I've created a thorough troubleshooting section in the Wiki here: https://github.com/guard/guard-livereload/wiki/Troubleshooting And I've just included info for debugging livereload.js files. Let me know if you think anything can be improved there. |
@e2 Looks decent and good timing, I felt the need of that too. One Can we suggest it for reading here? Maybe include it «Guidelines for contributing» like here. Also isn't your previous comment worth the Troubleshooting section? And how about
at the end of Troubleshooting or Contributing sections? |
Thanks, @jibiel,
Yeah, I was supposed to check it, but I forgot. I always remember it was tricky, but never end up guessing right.
Those links point to new issues - I don't get it...
I think I did here: https://github.com/guard/guard-livereload/wiki/Troubleshooting#9-livereloadjs-does-the-reloading Feel free to improve/add anything there (without checking up with me). I tried to cover enough ground (LiveReload is complex), so it just basically "notes" from browsing the sources. |
Hi! I have an issue with guard-livereload or the chrome/firefox plugin.
When I change the file, the changes are visible in the console but nothin appened...
I do a basic test with a fresh install of ruby/guard/guard-livereload and 2 files :
the Guardfile :
I use :
Some output of this issue:
(The first modification work but the second don't on the browser.
It's weird because it trigger 2 times but nothing appened)
https://gist.github.com/toojee/b619811f61d9e9e18f25
here with LISTEN_GEM_DEBUGGING=1
https://gist.github.com/toojee/b2552317716d43d852d7
LISTEN_GEM_DEBUGGING=2
https://gist.github.com/toojee/b92b32b150a67cbfad08
Here the first discussion on this issue : guard/guard#630
The text was updated successfully, but these errors were encountered: