Skip to content

Commit

Permalink
regexps in Guardfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Feb 12, 2011
1 parent a6c98bd commit 5ac6d83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# More info at http://github.com/guard/guard#readme

guard 'rspec', :version => 2 do
watch('^spec/(.*)_spec.rb')
watch('^lib/(.*)\.rb') { "spec" }
watch('^spec/spec_helper.rb') { "spec" }
watch(/^spec\/(.*)_spec.rb/)
watch(/^lib\/(.*)\.rb/) { "spec" }
watch(/^spec\/spec_helper.rb/) { "spec" }
end

0 comments on commit 5ac6d83

Please sign in to comment.