Skip to content

Commit 1c5b333

Browse files
committed
Update .devcontainer/devcontainer.json
1 parent 8cf2557 commit 1c5b333

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@
2323
"settings": {
2424
"latex-workshop.latex.external.build.command": "calkit",
2525
"latex-workshop.latex.external.build.args": [
26-
"run"
26+
"run",
27+
"--input",
28+
"%DOC%.tex"
2729
],
30+
"latex-workshop.latex.autoBuild.run": "never",
2831
"dvc.doNotShowSetupAfterInstall": true,
2932
"workbench.editorAssociations": {
3033
"*.pdf": "latex-workshop-pdf-hook"
@@ -44,5 +47,6 @@
4447
"mounts": [
4548
"source=${localEnv:HOME}/.calkit,target=/home/vscode/.calkit,type=bind,consistency=cached"
4649
],
47-
"postCreateCommand": "conda init bash"
50+
"postCreateCommand": "conda init bash",
51+
"postStartCommand": "mkdir -p $HOME/.cache; calkit config github-codespace > $HOME/.cache/calkit-config.log 2>&1 || true; calkit pull > $HOME/.cache/calkit-pull.log 2>&1 || true; bash $INIT_SCRIPTS_DIR/pull-texlive.sh"
4852
}

0 commit comments

Comments
 (0)