-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
1.16.0 new dev server not finishing rebuilds #6285
Comments
|
The cause is that I forgot to cancel previous build when rebuilds are kicked off 🤦 Tracking this as its own task within the dev server Roadmap item |
Thanks for tracking this! is there a good previous version to use where we're not seeing this? I tried going back to 1.15.0 but then css did not seem to load as expected. With ^1.16.0, I'm restarting the server to pick-up classname changes sometimes.
|
The better question is when will the fix come out? It's absolutely unbearable to work with Remix for me without the dev server properly refreshing. Even less so when I'm running the sass compiler every time I start the dev server. |
Turns out I had a to prop on the wrong element. |
I have been using the nightly build for the last few days and I am still getting the dev server stuck on rebuilding. |
We are seeing the same behavior in v1.16.0 and the old dev server |
@natac13 were you also seeing this issue with the old dev server? or with |
@pcattori Nope. I have another project in remix which has yet to do this to me. It is on 1.15 of remix where this newer project is started on 1.16. Also the newer project is trying to make use of firebase for the auth. Those are the only differences I can think of which are notable. Also both projects are using the remix dev server. The current one with the issues is deploying to AWS via SST with the Let me know if you need more info. |
I'm also on a project using
But my UI is not updated at all. I have to refresh the page. |
This happens under 1.16.0 even with the old dev server (using @remix-run/node). |
Any update on how to temporarily fix this until a fix hits stable? |
Was under the impression that the nightly versions have it fixed. Haven't tested myself. |
Thanks, will give it a test run 👍 |
I am using
|
An observation I have notice is that is seems to hang on rebuilding when I do a small tailwind change, like add a single class. |
I've had most of my issues when changing Vanilla Extract's |
@pcattori Just tested it out and the hanging does seem to be resolved, thank you! Unfortunately, rebuild times slowed down a bunch again too -- 1.16.0 + my caching PR had me at 12s for a clean build and 3-4s for rebuilds, nightly is now 16s for a clean build and 7-8s for rebuilds. Not sure if that warrants opening another issue or anything since it's not in a released version. |
@dmarkow yea I think perf optimization are a separate issue that we should look into |
Nightly build stopped generating classes for css modules - which works perfectly with 1.16.0 |
I just disabled the auto-save and I save manually on vs-code the prevent this problem. I hope the fix will come soon. |
This sounds like an issue unrelated to this one. Could you open a separate issue? @markdalgleish ^ you might be interested in this one |
🤖 Hello there, We just published version Thanks! |
@devarsh I wasn't able to reproduce your CSS issue against both |
So I realised you've to enable the flags in nightly build to generate css bundle. Which I assumed we didn't had to since it was enabled by default with 1.6.1 But there is still issue when I'm trying to import components exported from index.js - css bundle is not generated but classes are applied- I'm referring to css modules |
You shouldn't need to enable flags in the nightly build, just like in v1.16.0. I've been able to get CSS Modules working in the nightly release without enabling any flags. The second issue you mentioned sounds like this esbuild issue mentioned in the Remix docs:
If you're using -export * from "./Button";
+export { Button } from "./Button"; |
🤖 Hello there, We just published version Thanks! |
What version of Remix are you using?
1.16.0
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
For me, #5663 was caused by triggering a new rebuild while the old one was still running. As of 1.16.0, the same action is now causing a new issue.
Rebuilds work perfectly fine around 50% of the time when I save a file, then trigger another save within the 3-4 seconds my rebuild takes. However, the other 50% or so, the rebuilds start and never finish.
Saving a file once:
Saving multiple times before a rebuild is complete (e.g. save, notice a typo, immediately fix and save again):
Expected Behavior
Remix dev server should allow multiple overlapping saves and always produce the latest result.
Actual Behavior
Dev server stops providing new builds. Future saves still show the "Rebuilding..." output, but none of the rebuilds ever finish.
The text was updated successfully, but these errors were encountered: