Permalink
Browse files

regexps in Guardfile

  • Loading branch information...
1 parent a6c98bd commit 5ac6d8331e40032619dc56d855c09cc993c907af @dchelimsky dchelimsky committed Feb 12, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 Guardfile
View
@@ -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.