--watch flag doesn't work on NFS mountpints
Steps to reproduce
- Mount an NFS partition and configure it as
in-place
. - Import Files using
in-place
- Run
import_files
again with--watch
option. - Change some files
- Notice that changes will not taken
What happens?
--watch
options doesn't work with NFS. Keeps "Watching for changes at /music...", had my suspicions that this would happen and is looks like NFS doesn't support by default.
- https://github.com/fsnotify/fsnotify/issues/9
- https://unix.stackexchange.com/questions/81663/why-are-inotify-events-different-on-an-nfs-mount
python watchdog require PollingObserver
https://github.com/gorakhargosh/watchdog/issues/504 for NFS
What is expected?
It should take changes using --watch
in NFS
Context
Funkwhale 1.3.1 in Debian installation