Created
March 22, 2017 11:21
-
-
Save birdayz/05fadff17483fbd451e6926475386846 to your computer and use it in GitHub Desktop.
Watch latex files in folder and build new pdf when changes occur
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while true; do inotifywait -e modify *.tex>/dev/null 2&>1; latexmk -pdf > /dev/null 2>&1; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment