Myriad-Dreamin / shiroa

shiroa is a simple tool for creating modern online books in pure typst.
https://myriad-dreamin.github.io/shiroa/
Apache License 2.0
257 stars 16 forks source link

feat: watch typ changes in serve #69

Closed duskmoon314 closed 3 months ago

duskmoon314 commented 4 months ago

This is a very basic prototype to add the watch function to the serve command leveraging the watchexec crate.

How it works:

The implementation now cannot trigger the browser to fetch the page. This is not convenient.

In addition, mdbook has a separate watch command. Maybe we should follow that design?