-
Notifications
You must be signed in to change notification settings - Fork 109
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
Editing CSS files causes whole page to reload #469
Comments
Encountered the same issue. @x8BitRain Did you find any solution for fix? |
Yes I can repro this. Newly generated app from Update Reproduction app repo here compare Websocket messagesExample livereload websocket messages received when making a CSS file change. Under v2 messages are sent to reload both index files as well as the CSS.
|
Also seeing this on a newly upgraded app. Any ideas @ef4? In #429 you said that ember-auto-import doesn't do any watching, but @gilest has a repro with only upgrading ember-auto-import compare view. |
It must be because we touch the HTML now. |
Yeah, as in the screenshots above, I see it get LR messages for |
I can no longer repro this issue with |
Same issue as embroider-build/ember-auto-import#469 but in embroider rather than ember-auto-import. The traditional livereload system will optimize reload if we don't touch files that don't need to be touched. Fixes #1315
Same issue as embroider-build/ember-auto-import#469 but in embroider rather than ember-auto-import. The traditional livereload system will optimize reload if we don't touch files that don't need to be touched. Fixes #1315
Edit:
Creating a new project and adding the latest ember-auto-import and webpack 5 causes full page reload when editing CSS instead of just hot reloading the CSS without refreshing the page. Is there a way to avoid this? Thanks.
Package.json:
The text was updated successfully, but these errors were encountered: