Last active
December 20, 2022 18:38
-
-
Save malteneuss/ba42d6712a5354524cdaf688ebcfd8df to your computer and use it in GitHub Desktop.
Live-edit plantuml with auto-reload within single line of watchexec
This file contains 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
SOURCE="test.puml"; TARGET="test.png"; watchexec -f $SOURCE "plantuml $SOURCE && ristretto $TARGET" | |
# We need an app to trigger a rebuilds our sourcecode file into a target image file whenever our source file changes: | |
# watchexec | |
# Source https://github.com/watchexec/watchexec | |
# | |
# We need a light-weight,fast, non-flashing image-viewer that auto-reloads what we see whenever the target image file changes: | |
# ristretto | |
# Source https://github.com/xfce-mirror/ristretto but you could also try out other like | |
# feh | |
# Source https://github.com/derf/feh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment