Current code misses the NotifyDeleted()/NotifyTruncated()/NotifyModified() signals if the other end of the channel is busy processing somethings else. Changing the channels [https://github.com/hpcloud/tail/blob/v1.0.0/watch/filechanges.go#L4] into buffered channel of size 1 ensures that one consolidated instance for each of these signals are retained till the other end is frees up for processing.
Current code misses the NotifyDeleted()/NotifyTruncated()/NotifyModified() signals if the other end of the channel is busy processing somethings else. Changing the channels [https://github.com/hpcloud/tail/blob/v1.0.0/watch/filechanges.go#L4] into buffered channel of size 1 ensures that one consolidated instance for each of these signals are retained till the other end is frees up for processing.
Possibly Fixes Issue https://github.com/hpcloud/tail/issues/94 Issue https://github.com/hpcloud/tail/issues/21