summaryrefslogtreecommitdiff
path: root/Guardfile
blob: 4b273b385204cc463cbc8b29f7d1170bdef4ef8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard 'livereload' do
  watch(%r{app/.+\.(erb|haml)})
  watch(%r{app/helpers/.+\.rb})
  watch(%r{(public/|app/assets).+\.(css|js|html)})
  watch(%r{(public/|app/assets).+\.(css|js|html)})
  watch(%r{(public/|app/assets).*})
  watch(%r{(app/assets/.+\.css)\.s[ac]ss}) { |m| m[1] }
  watch(%r{(app/assets/.+\.js)\.coffee}) { |m| m[1] }
  watch(%r{config/locales/.+\.yml})
end