remove guardfile_contents when re-evaluating so that the Guardfile gets reloaded correctly

This commit is contained in:
mordaroso 2011-08-14 18:41:05 +02:00
parent 2c81e5b9bd
commit 820501bf15

View File

@ -14,6 +14,7 @@ module Guard
def reevaluate_guardfile
::Guard.guards.clear
@@options.delete(:guardfile_contents)
Dsl.evaluate_guardfile(@@options)
msg = "Guardfile has been re-evaluated."
UI.info(msg)