-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
An issue reveals itself when tailing files that are re-created. The following snippet shows what happens. GNU's 'tail -F' shows "1 2 4 5 6"
term a:
$ touch /tmp/myfile
term b:
$ python tail-F_inotify.py --debug /tmp/myfile
term a:
$ echo 1 >> /tmp/myfile
$ echo 2 >> /tmp/myfile
$ echo 3 > /tmp/myfile # > instead of >>
$ echo 4 >> /tmp/myfile
$ echo 5 >> /tmp/myfile
$ echo 6 >> /tmp/myfile
term b output:
I am totally opening /tmp/myfile
1
2
5
6
Metadata
Metadata
Assignees
Labels
No labels