Can I force a total rebuild and/or monitor non '.rs' files (not being shipped to client) to cause a full rebuild? #748
Unanswered
JustBobinAround
asked this question in
Q&A
Replies: 1 comment
-
Doesn't that Lines 31 to 32 in 5198f33 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently working on a proc-macro that reads markdown files and then builds a leptos component based on the markdown at compile time:
The issue that I have run into is that even when I update the markdown file, a rebuild is not triggered. Just to reiterate, the markdown files are handled at build, they don't get shipped to the client, only the generated code does.
I tried monitoring the .md file, but that doesn't seem to help at all. Without clearing the entire target directory manually, can I somehow force trunk to rebuild before serving? I didn't post this as an issue because I figured this must already be a feature and I just can't find it in the docs...
I'm hoping to make this a fully fledged component library, so I really don't want people to have to implement custom build scripts for just components if possible; adding a simple flag to trunk serve would be preferable.
Beta Was this translation helpful? Give feedback.
All reactions