tail
tail copied to clipboard
StopAtEOF does not function as expected.
Hello,
Maybe I am I misunderstand the purpose of the StopAtEOF function, but my expectation is the file would continue reading until the end of the file is reached after the function is called.
The current behavior is: the tailer will continue to go through each line, but the lines are never sent to the Lines channel because of this case switch: https://github.com/nxadm/tail/blob/6abd9f9c877795d2bfe88feb5a6bc07bc2112492/tail.go#L432
I will take a look. Thank you.