Permalink
Browse files

Rerun all specs when a helper is changed

  • Loading branch information...
1 parent 6e2be80 commit 5c40136f56b171916985a52f986e34220a319f01 @sidonath committed Feb 16, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/guard/jasmine-headless-webkit/templates/Guardfile
@@ -11,5 +11,6 @@ guard 'jasmine-headless-webkit' do
watch(%r{^public/javascripts/(.*)\.js$}) { |m| newest_js_file(spec_location % m[1]) }
watch(%r{^app/assets/javascripts/(.*)\.(js|coffee)$}) { |m| newest_js_file(spec_location % m[1]) }
watch(%r{^spec/javascripts/(.*)_spec\..*}) { |m| newest_js_file(spec_location % m[1]) }
+ watch(%r{^spec/javascripts/helpers/(.*)}) { spec_location % '*' }
end

0 comments on commit 5c40136

Please sign in to comment.