From 0837aab929e88947d47a1a8c1492641169ee7127 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 3 Aug 2024 13:19:02 +0200 Subject: feat(templates/latex): Add a `watch.sh` script --- templates/latex/academia/watch.sh | 70 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100755 templates/latex/academia/watch.sh (limited to 'templates/latex') diff --git a/templates/latex/academia/watch.sh b/templates/latex/academia/watch.sh new file mode 100755 index 0000000..e5147f2 --- /dev/null +++ b/templates/latex/academia/watch.sh @@ -0,0 +1,70 @@ +#!/usr/bin/env sh + +help() { + cat <&2 + exit 1 + ;; + esac +done + +[ -n "$reader" ] && "$reader" ./build/%INIT_APPLICATION_NAME.pdf & + +while true; do + ./build.sh + sleep "$time" +done -- cgit 1.4.1