hpcloud / tail

Go package for reading from continously updated files (tail -f)
MIT License
2.72k stars 505 forks source link

Question: Always Reading From Line 1 on File Change #141

Closed samkreter closed 6 years ago

samkreter commented 6 years ago

I am wondering if there is a way to only read newly added lines. Using the t.Tell(), I can get close but this is not the most accurate.

nishantroy commented 6 years ago

Looks like there's an open PR for this feature @samkreter: https://github.com/hpcloud/tail/pull/123

samkreter commented 6 years ago

123 looks good.