Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Do polling based file watching for NFS on linux #2171
Add the ability to detect changes to the opened database if it's on NFS ( linux only ).
@jsachs referred to this fix
Only on linux: before opening a database, check the type of the filesystem and if it's NFS use a polling FileSystemWatcher instead of the (default) inotify based one to detect changes.
Motivation and context
I'm running KeePassXC in an NFS environment.
How has this been tested?
Screenshots (if appropriate):
Types of changes
The Windows implementation of the QFilesystemWatcher is based on FindFirstChangeNotification, which has the same problem:
I will add this as well.