qwik
qwik copied to clipboard
HMR bug when adding new routes
Qwik Version
0.0.42
Operating System (or Browser)
Debian Linux
Node Version (if applicable)
No response
Which component is affected?
Qwik City
Expected Behaviour
Spin up a Qwik City starter. Any options
npm install
and npm run dev
Add a new route src/routes/whatever/index.tsx
and export a default component:
import { component$ } from "@builder.io/qwik"
export default component$(() => {
return <p>Testing, testing</p>
})
In the browser navigate to /whatever
You would expect to see a page with Testing testing
on it
Actual Behaviour
White screen of death.
There are no errors in the browser or console.
Additional Information
HMR will work for all routes the were present when the server started, and will work for new routes when the server is restarted.