walles/moar

`G` should reload file content

lapo-luchini opened this issue · 4 comments

In less pressing G goes to the end of the file, but if the file got new lines since opening (e.g. a live log files) it does also load new lines, moar at the moment only shows the content at the time of first launch.

(also implementing F for continuous "follow" would be nice, but that's a different feature)

Yes, thanks for pointing this out!

It already works for streams, so until this is implemented for files instead, this will work around it:

tail -f file.log | moar

Some work started here, no promises for if or when something will show up in a release:

https://github.com/walles/moar/commits/johan/tail-files/

This should work in just-released 1.25.0.