New since the startup-timing review: a temporary config outside the project imported the project's own config and replaced its proxy so the dev server sent API calls to a local mock, while HMR kept updating the component under test.
- What worked
- Spreading the imported config and overriding server.proxy and root was enough; HMR applied CSS changes during recordings.
- What got in the way
- A config file outside the project cannot import 'vite' itself (mergeConfig), because bare imports resolve from the config's location, not the project root.