www.moparisthebest.com/Guardfile
2011-04-17 22:49:30 -05:00

10 lines
258 B
Ruby

guard 'shell' do
watch(/source\/sass\/(.*)\.s[ac]ss/) {|m| `compass compile` }
watch(%r{public/.+\.(js|html)}) {|m| `compass compile` }
end
guard 'livereload', :api_version => '1.6' do
watch(%r{public/.+\.(css)})
watch(%r{public/.+\.(js|html)})
end