Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

continuously running w/ docs.watchr variant? #15

Open
pjfitzgibbons opened this issue Sep 17, 2010 · 2 comments
Open

continuously running w/ docs.watchr variant? #15

pjfitzgibbons opened this issue Sep 17, 2010 · 2 comments
Labels

Comments

@pjfitzgibbons
Copy link

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

@mynyml
Copy link
Owner

mynyml commented Sep 19, 2010

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.

@pjfitzgibbons
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants