When reinstalling the app while the dev server is still running, it looks like the app disconnects from the dev server. As a result, I had to restart the dev server every time I reinstalled the app.
How do you test reinstall flows(code path) when the dev server is still running?
using official shopify react router app template.
shopify/cli/3.94.2
node-v22.18.0
Sorry, I should have made the post more clear regarding being disconnected from the dev server. There is no error message in the dev server (npm run dev) except the app preview doesn’t work anymore.
What I mean is that after reinstalling, the app is no longer connected to the dev server.
I think in the new dev dashboard, the dev server is tied to the app installation.
So once you uninstall, the app gets disconnected from the running dev server. We have re-run the dev to load the app. As a result, we can not properly test any reinstall flows that needs the existing dev server running.
Here’s the step to reproduce this,
Start the dev server npm run dev
Preview the app in the browser
Uninstall the app
Reinstall the app (while the dev server is still running)