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

BSD: Changes in file not detected #1922

Open
zbklzp opened this issue Dec 22, 2024 · 2 comments
Open

BSD: Changes in file not detected #1922

zbklzp opened this issue Dec 22, 2024 · 2 comments

Comments

@zbklzp
Copy link

zbklzp commented Dec 22, 2024

Hi,

Thanks for the work you are doing with fava. This is a great tool.
I use it to display a file that I modify by hand.
Before my changes was detected and the autoreload worked perfectly.
Now with 1.28 and 1.29, the changes are not detected and I have to restart
fava to see them. I tried on FreeBSD and OpenBSD, the behaviour is the same.

Is there a command line option to rescan the file or something else to do ?

Thanks for your help.

@yagebu
Copy link
Member

yagebu commented Dec 23, 2024

The file watching now uses watchfiles (which is much more perfomant than the previous file polling). I'm not sure how well that works, an investigation and possible fixes on BSD would be welcome. There's also a CLI flag to use the old polling watcher, see the help output

@yagebu yagebu changed the title Changes in file not detected BSD: Changes in file not detected Dec 23, 2024
@zbklzp
Copy link
Author

zbklzp commented Dec 23, 2024

Sorry, I didn't understood the --poll-watcher option usage. It works great.
I am a really poor developer and have zero competence in python but
I'll try to look at this and see what I'll find.

Thanks again for your help and work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants