Permalink
Browse files

Improve Guardfile regular expressions

  • Loading branch information...
jbpros committed Sep 30, 2011
1 parent 5cf2774 commit 9b51b214f55a3bd2684cae5b4c4e076b0b6b030f
Showing with 3 additions and 3 deletions.
  1. +3 −3 Guardfile
View
@@ -1,5 +1,5 @@
guard 'jasmine-node', :jasmine_node_bin => File.expand_path(File.dirname(__FILE__) + "/node_modules/jasmine-node/bin/jasmine-node") do
- watch(%r{^spec/(.+)_spec\.js$}) { |m| "spec/#{m[1]}_spec.js" }
- watch(%r{^lib/(.+)\.js$}) { |m| "spec/#{m[1]}_spec.js" }
- watch(%r{spec/support/.+\.js$}) { "spec" }
+ watch(%r{^spec/(.+)_spec\.js$}) { |m| "spec/#{m[1]}_spec.js" }
+ watch(%r{^lib/(.+)\.js$}) { |m| "spec/#{m[1]}_spec.js" }
+ watch(%r{^spec/support/.+\.js$}) { "spec" }
end

0 comments on commit 9b51b21

Please sign in to comment.