-
I have an app where frontend = Rust/wasm, backend = Rust/rocket
-
The frontend makes a GET request to the backend during the initialization process.
-
The frontend auto recompiles + auto reloads via "cargo web ... --auto-reload"
-
The backend auto recompiles + auto reloads via "cargo watch"
-
A problem I often run into is that the frontend finishes recompiles (and auto reloads) before the backend finishes reloading rocket.
-
Is there anyway to synchronize these two cargo reloads?
Preferred order is:
-
Backend finishes recompiling. Backend restarts rocket.
-
Frontend recompiles. Frontend reloads.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.