mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-15 19:06:50 +00:00
12 lines
337 B
Ruby
12 lines
337 B
Ruby
# A sample Guardfile
|
|
# More info at https://github.com/guard/guard#readme
|
|
|
|
guard 'livereload' do
|
|
watch(%r{app/views/.+\.(erb|haml|slim)$})
|
|
watch(%r{app/helpers/.+\.rb})
|
|
watch(%r{public/.+\.(css|js|html)})
|
|
|
|
# Rails Assets Pipeline
|
|
watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|html|png|jpg))).*}) { |m| "/assets/#{m[3]}" }
|
|
end
|