tail icon indicating copy to clipboard operation
tail copied to clipboard

StopAtEOF does not function as expected.

Open CalebRolland opened this issue 3 years ago • 2 comments

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

CalebRolland avatar Nov 06 '21 09:11 CalebRolland

I will take a look. Thank you.

nxadm avatar Dec 16 '21 16:12 nxadm