-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto-reload on update doesn't not work #213
Comments
I confirm this behaviour on Linux. However this might not be due to |
OK, my bad. It seems I had not enough inotify watches. I did the following and it fixed my problem:
|
I am also not getting the pdf to update after recompiling. I have to close the file and reopen. |
I have the exact same issue on two of my Windows 10 machines. |
Same here on Debian 10 |
Same here on macOS Catalina, pdfs reload automatically in external Preview but not in pdf-view. |
In the meantime, I made my own PDF viewer package for Atom: https://atom.io/packages/pdfjs-viewer It is designed as a drop-in replacement for pdf-view, and supports automatic reloading, as well as a bunch of other features. Feedback welcome. |
Looks fantastic!
Fully functional, auto-update issue is solved on pdfs-viewer.
Thanks Carsten!
|
@micahjsmith glad you like it! |
@allefeld Looks cool, although I'm finding the same issue on macOS Catalina: pdf refreshes in the Preview app after a new tex build, but does not reload in the pdfjs-viewer interface. |
@wsdewitt could you open the developer tools and see whether there are any error messages at the time the PDF is opened, and at the time it should be reloaded? It can also depend on the way the pdf is recreated. If the file is first deleted, and then created again, file watching fails because it is based on inodes. In any case, feel free to create an issue on my repository. |
@allefeld Thanks! Indeed this seems related to the pdf recreation method. I am using SCons for TeX build, which by default deletes targets before rebuilding. This SCons behavior can be prevented with the |
I use auto-pdf-view together with latex tool in atom on win10. When latex file is updated and rebuilt, the pdf file is updated however not reloaded in the pdf-viewer panel. It has to manually close the tab and reopen in order to view the latest file....
The text was updated successfully, but these errors were encountered: