We've identified an issue where docker volumes seem to be omitting an IN_ISDIR event when new empty directories are created and detected by inotify (utilised by rb-inotifyin listen's linux adapter), essentially causing inotify to report new directories as new files. This eventually results in a crash when trying to read the directory as a file here.
Our temporary solution has been to force the use of the polling (generic) adapter via this fork until we can provide support for this option in entangler itself, which this PR does.
Related:
We've identified an issue where docker volumes seem to be omitting an
IN_ISDIR
event when new empty directories are created and detected byinotify
(utilised byrb-inotify
inlisten
's linux adapter), essentially causinginotify
to report new directories as new files. This eventually results in a crash when trying to read the directory as a file here.Our temporary solution has been to force the use of the polling (generic) adapter via this fork until we can provide support for this option in
entangler
itself, which this PR does.listen
docs for reference: https://github.com/guard/listencc @ghiculescu @daveallie