You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I save an edit to a view, I receive the line "00:27:28 - INFO - Reloading browser: app/views/visitors/index.html.erb" in my terminal, but Guard does nothing after that, and thus Chrome doesn't reload. I've activated the Chrome extension, am using rack-livereload, and the default Guardfile configuration for guard-livereload:
guard 'livereload' do
watch(%r{app/views/.+\.(erb|haml|slim)$})
watch(%r{app/helpers/.+\.rb})
watch(%r{public/.+\.(css|js|html)})
watch(%r{config/locales/.+\.yml})
# Rails Assets Pipeline
watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|html|png|jpg))).*}) { |m| "/assets/#{m[3]}" }
end
@portOdin this is a shot in the dark, but the fact you are using both rack-livereload and the chrome extension both may be causing some trouble. Have you tried just using one or the other in isolation rather than both? Just a thought. Let me know if that changes anything...would be happy to help debug.
@portOdin Do you have any updates on that? I haven't been able to reproduce the case with the data you've provided. Everything is reloading fine withandwithout browser extension. Are you sure you was working in the development environment?
First, update your Guardfile to match the default Guardfile template from guard-livereload. Some Guardfile rules have been updated for rails, so this might be the cause.
Then try and follow the Troubleshooting page, see where it doesn't work, and ideally paste the output of running guard in debug mode.
The Troubleshooting page isn't perfect, so ask for any clarification you need.
When I save an edit to a view, I receive the line "00:27:28 - INFO - Reloading browser: app/views/visitors/index.html.erb" in my terminal, but Guard does nothing after that, and thus Chrome doesn't reload. I've activated the Chrome extension, am using rack-livereload, and the default Guardfile configuration for guard-livereload:
development.rb
Am I missing something?
The text was updated successfully, but these errors were encountered: