-
Notifications
You must be signed in to change notification settings - Fork 64
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
Cycles of symlinks cause infinite loop/recursion #21
Comments
Can you reproduce this with rb-inotify alone? |
I think I have run into this with no guard/listen involved. The following code triggers the issue (tested on Ubuntu Trusty, with both rb-inotify 0.9.2 and 0.9.7, on Linux kernel 3.13.0 and ruby 2.0).
The process gets into an apparent infinite loop, going through paths such as I do not think I suppose the This change appears to fix it: #60 |
Can you confirm this is fixed? |
Running the example provided by @juhaerk seems to work correctly. |
When used in combination with guard/listen, cycles of symlinks cause nontermination. I don't quite know whether the reason lies here or in
listen
.See also here.
The text was updated successfully, but these errors were encountered: