2014-07-07 10:19:15 +00:00
|
|
|
# A sample Guardfile
|
|
|
|
# More info at https://github.com/guard/guard#readme
|
|
|
|
|
2015-04-27 13:42:53 +00:00
|
|
|
guard 'livereload', port: '35738' do
|
2014-07-07 10:19:15 +00:00
|
|
|
watch(%r{app/views/.+\.(erb|haml|slim)$})
|
|
|
|
watch(%r{app/helpers/.+\.rb})
|
|
|
|
watch(%r{public/.+\.(css|js|html)})
|
|
|
|
watch(%r{config/locales/.+\.yml})
|
|
|
|
# Rails Assets Pipeline
|
2014-10-07 19:15:41 +00:00
|
|
|
watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|html|png|jpg|svg))).*}) { |m| "/assets/#{m[3]}" }
|
2014-07-07 10:19:15 +00:00
|
|
|
end
|