change behavior
This commit is contained in:
parent
b21cfe7090
commit
1e93ab737d
|
@ -42,22 +42,22 @@ module Guard
|
||||||
end
|
end
|
||||||
|
|
||||||
def reload
|
def reload
|
||||||
|
true
|
||||||
|
end
|
||||||
|
|
||||||
|
def run_all
|
||||||
stop
|
stop
|
||||||
start
|
start
|
||||||
end
|
end
|
||||||
|
|
||||||
def run_all
|
|
||||||
true
|
|
||||||
end
|
|
||||||
|
|
||||||
# Called on file(s) modifications
|
# Called on file(s) modifications
|
||||||
def run_on_change(paths)
|
def run_on_change(paths)
|
||||||
restart
|
run_all
|
||||||
end
|
end
|
||||||
|
|
||||||
# Called on file(s) deletions
|
# Called on file(s) deletions
|
||||||
def run_on_deletion(paths)
|
def run_on_deletion(paths)
|
||||||
restart
|
run_all
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in New Issue