.watchr in happy-0.1.0.pre11 vs .watchr in happy-0.1.0.pre12

- old
+ new

@@ -3,13 +3,13 @@ puts "=== %s" % cmd system cmd puts "\n" end -watch("spec/.*_spec\.rb") { |m| run("bundle exec rspec %s" % m[0]) } -watch("lib/happy/(.*)\.rb") { |m| run("bundle exec rspec spec/%s_spec.rb" % m[1]) } -watch('^spec/(spec_helper|factories)\.rb') { |f| run "bundle exec rake spec", "%s.rb has been modified" % f } +watch("spec/.*_spec\.rb") { |m| run("rspec %s" % m[0]) } +watch("lib/happy/(.*)\.rb") { |m| run("rspec spec/%s_spec.rb" % m[1]) } +watch('^spec/(spec_helper|factories)\.rb') { |f| run "rake spec", "%s.rb has been modified" % f } # Ctrl-\ -Signal.trap('QUIT') { run("bundle exec rake spec") } +Signal.trap('QUIT') { run("rake spec") } # Ctrl-C Signal.trap('INT') { abort("\nQuitting.") }