Closed itsthesteve closed 1 year ago
Hi @itsthesteve 👋 thanks for mentioning this issue 🙏 looks for me like a duplicate of https://github.com/BuilderIO/qwik/issues/1901, or am i wrong? thanks once again!
Thanks @zanettin, it appears so! I see the full-reload in the WS as well.
I added a small store and indeed just changing the console.log
value in the callback does revert the store values. It's strange to me that even with a full reload, the changes aren't applied to the QRL specifically. Feel free to close this as it appears to be a dupe.
This is a new issue though! regression! got a fix alreafy!
Which component is affected?
Qwik Rollup / Vite plugin
Describe the bug
Changes made to a
routes/subroute/index.tsx
file are not reflected after saving in dev mode, and the dev server must be restarted.Reproduction
https://github.com/itsthesteve/qwik-refresh-bug
Steps to reproduce
Clone the reproduction repo at
https://github.com/itsthesteve/qwik-refresh-bug
http://localhost:5173/subroute/
and click the button. Notice the console logsparent saving {some: 'data'}.
/src/routes/subroute/index.tsx
and change the callback ofonSave$
, i.e.Click the button again, notice the console log is stale and the sources tab doesn't show the change.
The page will refresh, but changes are not reflected in the console or sources tab.
System Info
Additional Information
In my project where I noticed this happening, some changes to a component template were also not reflecting, but couldn't repro here as the other project is a bit bigger, so I'm not sure where to try and poke.