refactor(cli): use cargo run
for tauri dev
#11694
Draft
+88
−153
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #4724
Soooo i have small problem here. I debugged this for so long (hours) that i don't even remember why i was debugging it. The only difference between the current behavior and this PR is a new error message on ctrlc but i think this
cargo run
is printing that.i would appreciate some testing and telling me what i missed.
p.s. the cargo check workflow will fail. didn't want to remove DevCleanup and manually_killed until someone tells me what i missed.
p.p.s. i'll try to do some refactoring after this gets merged. the whole cli dev/build impl is a bit convoluted 😅
p.p.p.s idk why github messes up the diff this much, it's better in vscode for me