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
Live reload server mistakenly sends CSS changes, causing delays #5485
Comments
Hi, I've managed to track down the cause of this. Inside the livereloaders
This is getting called with every unminified CSS path name. So for example we include a selection of the many
But when the project is rebuilt every one of the CSS files are sent as a changed |
Can you provide a demo repo and steps to reproduce? |
Done: https://github.com/orf/buggy-ember-cli-app In this test app it actually only loads a few before cancelling the rest, but on my medium/large app it is a significant slowdown: Just serve it and make a tiny change to any |
Hi, were you able to reproduce this? If not I can spend some time looking into why. |
my guess is that some input filter isn't caching, and instead constantly provide fresh input files. Causing the live-reload server to believe that all have changed. |
Could this be to do with the SRI fingerprint? |
Yes it could, can you share w small app that demonstrates this problem. Il gladly debug it |
This one demonstrates the issue: https://github.com/orf/buggy-ember-cli-app |
this appears to be bugs in both SRI and broccoli-asset-rev |
This isn't actionable on the Ember CLI side of things and we have tracking issues at the upstream repositories. As such I am closing this issue. |
When using
ember serve
with the latestember-cli
and after making a change the livereload seems to cause my browser to make a lot of requests for the same resources before the page is refreshed and the changes are visible:This isn't exactly a critical issue, but it would be nice if it didn't happen.
The text was updated successfully, but these errors were encountered: