Quick question for rails pros out there…
When working with Rails 3.0.x apps I was a heavy user of Guard and LiveReload. However, it seems that when using the asset pipeline in Rails 3.1 the livereload guard does not know that changes to a Sass file should trigger sending new css to the browser.
Is anyone using LiveReload with the Asset Pipeline? If so, how are you making it work?
Thanks!
After following some issue threads on Github I found the following fixed my problem:
1) Make sure all scss files are named following the new asset convention, like so:
filename.css.scssI was using scss before Rails 3.1 and had just named all my sass files
filename.scss.2) Use the following for livereload in your guardfile: