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

Recompile without sass changes #778

Closed
pomm0 opened this issue Nov 5, 2021 · 1 comment
Closed

Recompile without sass changes #778

pomm0 opened this issue Nov 5, 2021 · 1 comment

Comments

@pomm0
Copy link

pomm0 commented Nov 5, 2021

This addon forces a sass recompilation for any changes that happen while in ember server modus, even though no sass files changed.

How to reproduce

  1. create a new ember app
  2. install ember-uikit ember install ember-uikit
  3. start ember server
  4. change something inside a .js file for instance controller/application.js
  5. observe server logs and see that a SassCompiler did run:

image

Since our app has quite lot to compile it adds 3-4 seconds of rebuild time everytime we change something not sass related. Which slows down productivity.
Is there something I can do to change it that it only recompiles when a scss file did change?

@anehx
Copy link
Member

anehx commented Nov 29, 2021

ember-uikit doesn't do any compilation, that is entirely handled by ember-cli-sass which currently does have the issue you're describing: adopted-ember-addons/ember-cli-sass#214

I'll close this issue since SCSS compilation is not a concern of this addon.

@anehx anehx closed this as completed Nov 29, 2021
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

2 participants