From: Adam R. M. <ama...@ma...> - 2007-06-05 20:47:28
|
More fun with file updates. I'm trying latexmk.pl via TextMate for typesetting (runs multiple latex/bibtex passes as needed), and I've discovered a file race condition: we get a change notification after the first latex pass, then reload the file when the trailer is detected. However, while SKDocument is reverting, the script is running another latex process that trashes the PDF, and the revert fails. Of course, this also depends on CPU speed and load, and much of the time it seems to work fine. I don't think there's much we can do about this, since it could fail with a timer as well, but it's probably worth noting. -- Adam |