Automatically emitting rerun-if-changed instructions for cargo #1019
Unanswered
mickvangelderen
asked this question in
Q&A
Replies: 1 comment 2 replies
-
That feels like a bug to me. Either tonic-build or prost should do that. Wanna file an issue? |
Beta Was this translation helpful? Give feedback.
2 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.
Uh oh!
There was an error while loading. Please reload this page.
-
I find myself writing a build script similar to the following for every project:
I was wondering if we could let tonic emit those rerun-if-changed statements for us. It would be even better if we could narrow down the rerun-if-changed instructions only to the included files rather than asking cargo to monitor the entire include directories.
It is possible that this feature already exists but I couldn't find any signs of tonic_build writing to
stdout
nor does my build script print anything tostdout
when removing my ownprintln
statements.Beta Was this translation helpful? Give feedback.
All reactions