From 9d2feee5a62e456ba4d435db3080feacde818b0c Mon Sep 17 00:00:00 2001 From: jomaway Date: Sun, 10 Mar 2024 19:09:13 +0100 Subject: [PATCH] chore: split watch into docs and example --- justfile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/justfile b/justfile index 3ecd468..a42620e 100644 --- a/justfile +++ b/justfile @@ -7,17 +7,19 @@ default: # generate example pdf gen-example: - typst compile --root {{ self }} examples/example.typ + typst compile --root {{ self }} examples/example.typ # generate bytefield manual gen-docs: - typst compile docs/docs.typ --root {{ self }} + typst compile --root {{ self }} docs/docs.typ -# watch examples and docs -watch: - typst watch docs/docs.typ --root {{ self }} & \ - typst watch examples/example.typ --root {{ self }} \ - && fg +# watch docs +watch-docs: + typst watch docs/docs.typ --root {{ self }} + +# watch example +watch-example: + typst watch examples/example.typ --root {{ self }} # open the bytefield manual open-docs: