samoht/dog

Avoid pushing >70 commits per seconds

kit-ty-kate opened this issue · 0 comments

I just tried to use dog and I realised it produces more than 70 commits per seconds and doesn't seem to stop.

Here is my test case:

cd /tmp
mkdir watcher listener

Then in one terminal I do:

cd /tmp/listener
dog listen -r .

and in an other:

cd /tmp/watcher
dog watch -r . test file:///tmp/listener

Now, if I try to add a file in the watcher directory, it starts to create an insane amount of commits per seconds in the listener directory.
I don't know if I use this tool correctly but still, I thing it could be a problem.