Tailing stops (gets stuck) in certain conditions
arunmathew88 opened this issue · 0 comments
arunmathew88 commented
Deferred RemoveWatch() [https://github.com/hpcloud/tail/blob/v1.0.0/watch/inotify.go#L78] may at times cause the WatchCreate (called indirectly by NotifyDeleted() ) to run before RemoveWatch(). This prevents the WatchCreate from adding a watcher on the file’s parent directory for watching file creates, since the data structures still reflects as if the file is being being watched.
Possibly Fixes
Issue #90