Guardfile 376 B

1234567891011
  1. # A sample Guardfile
  2. # More info at https://github.com/guard/guard#readme
  3. guard 'livereload' do
  4. watch(%r{app/views/.+\.(erb|haml|slim)$})
  5. watch(%r{app/helpers/.+\.rb})
  6. watch(%r{public/.+\.(css|js|html)})
  7. watch(%r{config/locales/.+\.yml})
  8. # Rails Assets Pipeline
  9. watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|html|png|jpg|svg))).*}) { |m| "/assets/#{m[3]}" }
  10. end