Entr
Autocompile Things.
GitHub: eradman/entr: Run arbitrary commands when files change
LaTex
Autocompiling Latex.
find . -type f -name '*.tex' | entr compile.sh file.tex
find . -type f -name '*.tex' | entr latexmk -quiet -pdf file.tex
find . -type f -name '*.tex' | entr latexmk -quiet -pdf -pdflatex='xelatex %O %S' file.tex
Autocompile XournalPP File into PDF
echo "$file" | entr -n -p xournalpp -p "$pdf" "$file" &
From my Dot-Files: GitLab: xournalpp/.local/bin/xournalpp-autocompile.sh
Autocompiling Rust
ls src/*.rs | entr wasm-pack build --target web