guard-rails-assets/lib/guard/rails-assets/templates/Guardfile
2011-06-24 14:24:28 +10:00

9 lines
345 B
Ruby

# Make sure this guard is ABOVE any other guards using assets such as jasmine-headless-webkit
# It is recommended to make explicit list of assets in `config/application.rb`
# config.assets.precompile = ['application.js', 'application.css', 'all-ie.css']
guard 'rails-assets' do
watch(%r{^app/assets/.+$})
watch('config/application.rb')
end