guard-rocco/lib/guard/rocco/templates/Guardfile
2011-11-13 14:29:24 +01:00

7 lines
229 B
Ruby

guard 'rocco', :run_all => [:start, :change], :dir => 'doc', :stylesheet => 'http://jashkenas.github.com/docco/resources/docco.css' do
# For Rails 3.0.x and 3.1
watch(%r{^app/.*\.(rb|coffee)$})
watch(%r{^lib/.*\.rb$})
end