-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐞] Out-of-sync Stale Code running on server after code edits & auto-recompile / Stop and Restart required after each edit #3342
Comments
Bump! Want to put this on the radar as it's a pretty serious DX gotcha that still bites me when I am pondering why the edits are not taking, even though the console shows recompile. |
This seems to be true of any nested code file edits that run on the server. Despite the auto-recompile, the server continues to run stale code. |
Gonna look into it this week! |
Looking into it now! hope it's not a hard fix... wish me luck |
Doing a rain dance and a twirling dervish for good luck! |
The issue is not limited to server$. We are seeing it in our qwik-city test app when importing css or when a component is nested inside another component that decides which scheduling component to display Here is a simple example where vitest framework is seeing stale content video of issue: Repository to reproduce: Thank you for prioritizing this! System info |
Which component is affected?
Qwik Rollup / Vite plugin -- Qwik Runtime HMR
Describe the bug
The server not reloading recompiled utility function used by
server$
. Maybe this is a vite, HMR, or my misunderstanding in how to properly writeserver$
code.I am also seeing a similar issue with styles not updating.
See project and loom video: HERE
Reproduction
https://github.com/n8sabes/qwik-ssr-reload-issue.git
Steps to reproduce
Clone
https://github.com/n8sabes/qwik-ssr-reload-issue.git
run and click.System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: