Permalink
Browse files

I am majorly confused. Guard is silly.

  • Loading branch information...
1 parent 9492348 commit 107fa9008fa7ecde8c94924f2b8020a44a540401 @jordansissel committed Feb 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Guardfile
View
@@ -1,6 +1,6 @@
guard "minitest" do
- watch(%r{^test/.*/[^.][^/]+\.rb}) { |m| system("ruby #{m[0]}") }
- watch(%r{^lib/(.*/[^.][^/]+\.rb)}) { |m| system("ruby test/#{m[1]}") }
+ watch(%r{^test/.*/[^.][^/]+\.rb}) { |m| p m[0]; m[0] }
+ watch(%r{^lib/(.*/[^.][^/]+\.rb)}) { |m| p m[0]; "test/#{m[1]}" }
notification :libnotify, :timeout => 5, :transient => true, :append => false
end

0 comments on commit 107fa90

Please sign in to comment.