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.
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: