BSD: Changes in file not detected
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.
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
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.
I was also having trouble with file watching on OpenBSD. Passing --poll-watcher seems to fix it (thanks @yagebu).