diff options
Diffstat (limited to 'Guardfile')
-rw-r--r-- | Guardfile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Guardfile b/Guardfile new file mode 100644 index 0000000..4b273b3 --- /dev/null +++ b/Guardfile @@ -0,0 +1,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 |