fix: Disable internal pdf previewer (-view=none) in watch mode for headless container
This commit is contained in:
+3
-3
@@ -60,11 +60,11 @@ case "$COMMAND" in
|
||||
watch)
|
||||
shift || true
|
||||
TARGET=$(resolve_target "$1")
|
||||
echo "==> Starte kontinuierlichen Watch-Modus (latexmk -pvc)..."
|
||||
echo "==> Starte kontinuierlichen Watch-Modus (latexmk -pvc -view=none)..."
|
||||
if [ -n "$TARGET" ]; then
|
||||
exec latexmk -pvc -pdf "$TARGET"
|
||||
exec latexmk -pvc -view=none -e '$sleep_time=1;' -pdf "$TARGET"
|
||||
else
|
||||
exec latexmk -pvc -pdf
|
||||
exec latexmk -pvc -view=none -e '$sleep_time=1;' -pdf
|
||||
fi
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user