remove guardfile_contents when re-evaluating so that the Guardfile gets reloaded correctly
This commit is contained in:
parent
2c81e5b9bd
commit
820501bf15
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user