watchr
watchr copied to clipboard
continuously running w/ docs.watchr variant?
Hello,
I have a docs.watchr running to YARD my docs. http://gist.github.com/584315
After the first file detection, watchr then runs continuously (every 1-2 sec).
Thoughts?
Thanks, Peter Fitzgibbons
I've been able to reproduce on OSX with the portable handler. Looks like as it detects the change, the .rb files get touched, which in turn triggers another event, .....
Obviously that's broken. Thanks for bug report. Meanwhile, you should install the rev or fsevent handler, it should fix it (the README gives you more details on this). It'll also increase watchr's responsiveness, so that's the recommended usage.
Excellent! I'd say it would be worth a "warning" to the watchr output if you detect this scenario. The degradation is a worth-while compromise to the newly-minted users who need to figure out which enivornment they're installing (Linux/BSD = rev, OSX = ruby-fsevent)
Thanks for the hint.