Unfortunately I've lost the solution I used to use but it was along these lines.
This was to handle the changes to the calibre library that I did a one-way sync from my PC to my NAS.
- Ensure calibre-web is configured to allow reconnect endpoint
See https://github.com/janeczku/calibre-...Line-Interface
- Have a script active on the NAS that used inotifywait to monitor for changes to metadata.db (this would be triggered on the sync from the PC to my NAS of the calibre library)
- On change being detected use curl to issue a request to calibre-web your_libray_ip/reconnect to force the database to be reloaded