Skip to content

Commit

Permalink
feat(watchTypstProject): ensure typstOutput parent dir exists
Browse files Browse the repository at this point in the history
  • Loading branch information
loqusion committed Jan 2, 2024
1 parent 8838572 commit 0506480
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/watchTypstProject.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ in
${toShellVars {inherit typstOutput typstSource;}}
out=''${1:-''${typstOutput:?not defined}}
mkdir -p "$(dirname "$out")"
${typstWatchCommand} ${typstOptsString} "$typstSource" "$out"
'';
})

0 comments on commit 0506480

Please sign in to comment.