From 776361d038c8484e90553de03873a9152a1eecc2 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Fri, 30 Sep 2011 11:22:35 -0400 Subject: [PATCH] add a sleep to the interactor thread, because it's healthy to take a break every once in a while --- lib/guard/interactor.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/guard/interactor.rb b/lib/guard/interactor.rb index c69dc5d..35ff09a 100644 --- a/lib/guard/interactor.rb +++ b/lib/guard/interactor.rb @@ -45,6 +45,7 @@ module Guard ::Guard.run_all end end + sleep 0.1 rescue LockException lock rescue UnlockException