astro-typst icon indicating copy to clipboard operation
astro-typst copied to clipboard

File changes are not reflected even after a full page refresh.

Open aspizu opened this issue 9 months ago • 2 comments

Need to restart dev server to actually see changes

aspizu avatar Mar 09 '25 19:03 aspizu

Although #4 is still WIP, 0.7.3 should have fixed this (#5) -- is the latest version still requires a dev server restart? If so, can you provide the way you import a typst file?

aspizu @.***> 于2025年3月10日周一 03:18写道:

Need to restart dev server to actually see changes

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

aspizu created an issue (OverflowCat/astro-typst#5)

Need to restart dev server to actually see changes

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

OverflowCat avatar Mar 13 '25 09:03 OverflowCat

Sorry my bad. What had worked is passing string to components.

v0.8.1 should fix HMR of import Component from "xxx.typ" in JS side.

Watching Typst imports (#import / #include / #read) is still WIP.

OverflowCat avatar Apr 04 '25 13:04 OverflowCat