News for hackers. Stuff that matters.
Re:Tectonic: a modernized, self-contained TeX/LaTeX engine by ConfucianNardin on Wednesday May 31, 2017 @06:32AM (#14451465)
You can use

    inotifywait -e move_self,close_write *.tex *.bib
and drop the sleep. This also means you will not needlessly recompile the pdf if you re-open the source file in your editor.

Side note: Only one of move_self and close_write is actually required, depending on your editor. Some editors (e.g. vim, emacs), will write the modified content to a separate file, then rename it to the real file name (in order to make it atomic) => move_self. Others will overwrite the file in-place (e.g. gedit, nano) => close_write.

There are no comments on this comment yet.