add typst-watch to monitor changes to scribble files#566
Conversation
There was a problem hiding this comment.
Resyntax analyzed 1 file in this pull request and has added suggestions.
f7de9ed to
4f7a4ac
Compare
4f7a4ac to
9fec48b
Compare
There was a problem hiding this comment.
Resyntax analyzed 1 file in this pull request and has added suggestions.
There was a problem hiding this comment.
Resyntax analyzed 1 file in this pull request and has added suggestions.
There was a problem hiding this comment.
Resyntax analyzed 1 file in this pull request and has added suggestions.
9fec48b to
e14080b
Compare
There was a problem hiding this comment.
Resyntax analyzed 1 file in this pull request and has added suggestions.
We added a small even loop to monitor scribble file changes. We used `dynamic-rerequire` to reload related doc modules.
e14080b to
cd2492c
Compare
There was a problem hiding this comment.
Resyntax analyzed 1 file in this pull request and has added suggestions.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Resyntax analyzed 1 file in this pull request and found no issues.
There was a problem hiding this comment.
Resyntax analyzed 1 file in this pull request and found no issues.
There was a problem hiding this comment.
Resyntax analyzed 1 file in this pull request and found no issues.
|
@mflatt Do you think I should move the code to where the typst renderer is located? Another related question: should I put test code in |
|
Would it make sense to have a general Maybe it would also make sense to detect changes to dependencies of the main document file. The For a test, I agree that it would be better to have a separate test module. |
We added a small even loop to monitor scribble file changes.
We used
dynamic-rerequireto reload related doc modules