If I change the contents of a PDF file that is open in Preview, it automatically reloads it when I switch to the program. Is there a way to make it do this without explicitly switching to the program?
The reason is that I am writing LaTeX, and I would like to see the updated PDF, but switching between Preview and back is a little annoying each time. For now, I have a line in my Makefile that just does
open $(FILEPREFIX).pdf open -a iTerm
every time it builds the document (I use emacs in the terminal as my text editor), but even this is a little annoying, especially since I would like to write a hook in emacs that automatically builds the document at regular intervals, and this would cause it to jump away from the editor.
P.S. I know that Skim can do this. But I've found its autoupdating to be unreliable (i.e., sometimes it just stops doing it altogether, and I have to manually reload the document; if someone knows how to fix that, I would appreciate that as well).