ItsEthra / typst-live

Hot reloading for your typst files
MIT License
71 stars 8 forks source link

Suggestion: add flag to avoid running the typst command #4

Closed beeb closed 1 year ago

beeb commented 1 year ago

I would like to use this tool together with the VSCode extension which does the compilation and watching already. I would only need this tool for the webserver with auto-refresh.

Would it be possible to add an option to only monitor for file changes but not run typst in the background?

In this case, one could pass the path to the PDF file instead of the source file.

ItsEthra commented 1 year ago

Implemented it, it should work now using -R <pdfname>

beeb commented 1 year ago

Thanks!