Skip to content
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

Updates to styles imported from JS cause a full reload #2085

Open
kategengler opened this issue Aug 29, 2024 · 0 comments
Open

Updates to styles imported from JS cause a full reload #2085

kategengler opened this issue Aug 29, 2024 · 0 comments

Comments

@kategengler
Copy link

When editing styles that are ultimately imported into app.js, a full reload of the app happens, rather than the hot loading of styles that would occur with the traditional pipeline for styles.

Not sure if this is exactly an embroider bug, or a symptom of the approach (which is necessary when using embroider due to #1358).

In my project, we are using scss, which necessitates style-loader, etc, but I was able to reproduce this with a clean app generated on v5.11 of ember-source with --embroider with only css.

https://github.com/kategengler/repro-styles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant