Re-evaluate the Guardfile before reload all Guards (Fixes #141).
This commit is contained in:
parent
0936771a9e
commit
a1f37f60d6
@ -37,6 +37,7 @@ module Guard
|
|||||||
when 'stop', 'quit', 'exit', 's', 'q', 'e'
|
when 'stop', 'quit', 'exit', 's', 'q', 'e'
|
||||||
::Guard.stop
|
::Guard.stop
|
||||||
when 'reload', 'r', 'z'
|
when 'reload', 'r', 'z'
|
||||||
|
::Guard::Dsl.reevaluate_guardfile
|
||||||
::Guard.reload
|
::Guard.reload
|
||||||
when 'pause', 'p'
|
when 'pause', 'p'
|
||||||
::Guard.pause
|
::Guard.pause
|
||||||
|
Loading…
Reference in New Issue
Block a user