trabajo-afectivo/Guardfile

14 lines
559 B
Text
Raw Normal View History

# A sample Guardfile
# More info at https://github.com/guard/guard#readme
2015-09-29 11:50:28 +00:00
guard :livereload, :port => "35738" do
watch(%r{app/views/.+\.(erb|haml|slim)$})
watch(%r{app/helpers/.+\.rb})
2015-09-29 11:50:28 +00:00
watch(%r{public/.+\.(css|js|html)})
watch(%r{config/locales/.+\.yml})
# Rails Assets Pipeline
2015-09-29 12:50:18 +00:00
watch(%r{(app|vendor)(/assets/\w+/(.+\.(css|js|coffee|html|png|jpg))).*}) { |m| "/assets/#{m[3]}" }
2015-09-29 11:50:28 +00:00
watch(%r{(app|vendor)(/assets/\w+/(.+)\.(scss))}) { |m| "/assets/#{m[3]}.css" }
watch(%r{(app|vendor)(/assets/\w+/(.+)\.(svg))}) { |m| "/assets/#{m[3]}.svg" }
end