Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--follow-mode is not working for a single file input #254

Closed
llagerlof opened this issue Jan 4, 2023 · 6 comments
Closed

--follow-mode is not working for a single file input #254

llagerlof opened this issue Jan 4, 2023 · 6 comments
Labels
good first issue Good for newcomers question Further information is requested

Comments

@llagerlof
Copy link

I created a file test.txt and executed:

$ ov --follow-mode test.txt

In another terminal I kept adding content to test.txt (and saving it, of course), but the text in ov's terminal was not updating.

@noborus
Copy link
Owner

noborus commented Jan 4, 2023

Thanks for trying.
It doesn't work in all cases. If I tried it, it's working.
I would like to know more about the environment and methods.

@llagerlof
Copy link
Author

I would like to know more about the environment and methods.

I am using bash 5.2.9 on gnome-terminal. The distro is Fedora 36.

I tried the test mentioned above inside tmux using two panes and outside tmux using two console windows. Same result.

@noborus
Copy link
Owner

noborus commented Jan 4, 2023

Thank you.
Are you editing with vi or the like?
In that case, wouldn't tail -f test.txt not work as well (tail -F test.txt would work)?
I think it also works if you put "set nobk" in your .virc.

Currently tail -F equivalent functions are not supported.
I will consider it in the future. Thank you!

@llagerlof
Copy link
Author

Wow, I didn't knew that, Yes, I was using vim. tail -f don't work, but but tail -F work.

Thanks.

@noborus noborus added good first issue Good for newcomers question Further information is requested labels Jan 17, 2023
@noborus
Copy link
Owner

noborus commented May 6, 2023

Implemented --follow-name in v0.20.0.

@noborus
Copy link
Owner

noborus commented May 31, 2023

I officially released v0.30.0. This has been resolved.

@noborus noborus closed this as completed May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants