Unison version 2.48.3 now provides a -repeat watch option, which uses an inotify based watcher process to perform new synchronisations as files are detected to have changed on disk. This requires a separate binary (or python script) to be installed, which the current ebuild does not provide. Reproducible: Always Expected Results: unison-fsmonitor or fsmonitor.py installed to the appropriate location to provide support for inotify based monitoring
I have updated unison-2.48.4. Could you please give it a try?
So since I posted (and subsequently forgot about) this bug, I learned how to write ebuilds. The issue here is that the install is done manually rather than trying to use the makefile, so even though the unison-fsmonitor binary is built it never gets installed. Adding a line: newbin unison-fsmonitor unison-fsmonitor is all that is needed.
Created attachment 469804 [details, diff] unison-fsmonitor ebuild patch
Oops, nevermind. I failed to get a suffiently recent snapshot of the portage tree before I commented.
Thanks Phil! Yes, the build system of unison is a mess. We decided to install manually. Glad that you've also found the solution and the ebuild in tree works for you.
*** Bug 639372 has been marked as a duplicate of this bug. ***