stop linux listener quickly

This commit is contained in:
Yann Lugrin 2010-10-23 19:34:19 +08:00 committed by Thibaud Guillaume-Gentil
parent e19a9304ec
commit 080ffe2efc

View File

@ -53,7 +53,7 @@ module Guard
callback.call(files)
files.clear
end
sleep latency
sleep latency unless @stop
end
end
end