From a1f37f60d6f722476a6f6b36956dd44922d5fe48 Mon Sep 17 00:00:00 2001 From: Michael Kessler Date: Sat, 24 Sep 2011 12:58:27 +0200 Subject: [PATCH] Re-evaluate the Guardfile before reload all Guards (Fixes #141). --- lib/guard/interactor.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/guard/interactor.rb b/lib/guard/interactor.rb index c6c56b2..c69dc5d 100644 --- a/lib/guard/interactor.rb +++ b/lib/guard/interactor.rb @@ -37,6 +37,7 @@ module Guard when 'stop', 'quit', 'exit', 's', 'q', 'e' ::Guard.stop when 'reload', 'r', 'z' + ::Guard::Dsl.reevaluate_guardfile ::Guard.reload when 'pause', 'p' ::Guard.pause