Hello,
I’m using VSC with Tinymist and I have this weird bug that whenever I have a file (say chapter.typ) that is being included in another file (say main.typ), if the chapter file is being updated the main file doesn’t recompile.
If i use typst watch main.typ it does recompile when changing the chpater file.
Do you know how to make tinymist recompile wihout having to use the watch command in the terminal?
You have to pin your main.typ file. In VSC open your main.typ then in the menu go to: View → Command Palette… (or ctrl+shift+p), type “Pin” and select “Typst: Pin the Main File to the Currently Open Document”.
I recommend using the build in Tinymist Preview feature, it is faster and this works by default.
Thank you that works.
My problem with the built in preview is that is very slow.
Whenever i use it my whole laptop starts freezing and even scrolling and typing starts taking way too much time.
I’m running a lenovo ideapad slim 3i (if it matters)