I'm onboarding onto a project built using Ember. The project uses ember-cli-sass to watch and compile .scss
files. The project is fairly large and componentized, with over 100 separate scss files. As a result, the ember-cli-build.js
configuration looks like:
sassOptions: {
includePaths: ['app']
}
The list is truncated a little bit, but the point is, the project has to include the /app
path in its list of folders to watch in order to hear all the possible style changes.
This has two side effects. First, it makes for fairly slow SASS compiles. Second, SASS compiles occur when literally any file in the /app
hierarchy changes, including javascript files.
Is there any way to configure ember-cli or ember-cli-sass to only compile on .scss
changes?
Aucun commentaire:
Enregistrer un commentaire