foobnix / LibreraReader

Book Reader for Android
http://librera.mobi
Other
2.7k stars 296 forks source link

Feature: watch filesystem for changes #1265

Open natebragg opened 2 months ago

natebragg commented 2 months ago

When I close a file, then modify it outside of Librera (e.g., rebuild it using pdflatex), sometimes a cached version shows up when I open it again (strangely, sometimes it opens the new one). My workaround is to delete the file inside Librera's directory view. It would be nice if Librera hooked filesystem changes so I could just close and reopen it.

If this is possible, it would also be nice if Librera would autoreload and redisplay the file on change even if the file is open on the screen. Or possibly open a dialog that says "the file has changed, would you like to reload? y/n"