You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When having a Dioxus fullstack app as part of cargo workspace, running dx build always recompiles everything. The same doesn't happen with dx serve though.
Steps To Reproduce
Create a new Rust project using cargo workspace.
Add a Dioxus fullstack project as a workspace member.
Run dx build in the fullstack project dir.
Run it again.
Expected behavior
It should not recompile anything, when nothing is changed.
This problem does not happen when having a standalone Dioxus fullstack or desktop app that is not part of a workspace.
Environment:
Dioxus version: 0.5.1 (CLI version 0.5.4)
Rust version: 1.76
OS info: Win11 WSL2 Ubuntu 22.04
App platform: fullstack
The text was updated successfully, but these errors were encountered:
This is due to 1) how we handle rustflags for optimizations and 2) where we place out artifacts for parallel builds - this should be mostly fixed when we move to profiles instead of implicit rustargs #2780
Problem
When having a Dioxus fullstack app as part of cargo workspace, running
dx build
always recompiles everything. The same doesn't happen withdx serve
though.Steps To Reproduce
Create a new Rust project using cargo workspace.
Add a Dioxus fullstack project as a workspace member.
Run
dx build
in the fullstack project dir.Run it again.
Expected behavior
It should not recompile anything, when nothing is changed.
This problem does not happen when having a standalone Dioxus fullstack or desktop app that is not part of a workspace.
Environment:
The text was updated successfully, but these errors were encountered: