File changes are not reflected even after a full page refresh.
Need to restart dev server to actually see changes
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: @.***>
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.