Add run_on option to specify when to run the rocco command #3

Merged
JeanMertz merged 6 commits from master into master 2011-11-15 15:42:10 +00:00
Showing only changes of commit 76f781ec08 - Show all commits

View File

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