-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
When my SCSS file is automatically compiled, it also recompiles every SCSS file in my entire workspace #31
Comments
Actually it recompiles every SCSS file when I click "Watch Sass" and also when I make changes and save. |
When the extension was first created by Ritwickdey his initial thought was to keep it simple. This meant that when a partial file (that's any file beginning with a Examples:
This can be disabled with the Can you confirm that this is what your problem is/you're after => #17 |
Oooh ok. Let me just provide a quick example so I can make sure this is correct. I was a bit surprised when 150 SCSS files rendered. Here's a sample structure of my workspace:
So when I saved "_anotherInclude.scss" it rendered every single SCSS file that's in that tree. Is that really what it's supposed to do with the default settings? |
That's right, every file that's not a partial will be processed (based on default settings), as per the below
When he initially created the extension it was designed for small packages of SCSS, not those embedded in larger projects. Hence why, with me (and the community) moving this project forward, we now have a |
Ok that actually makes sense. Thanks a lot for the explanation! |
No worries, glad I could help Closing as (essentially) a duplicate of #17 |
I'm not sure what I can provide here. My SCSS file contains @import statements that import files, but only files residing in the current folder. When I saved my changes it searched for every single SCSS file in my workspace (which contains a WordPress themes folder and the plugins folder) and recompiled them. In total it recompiled about 150 SCSS files throughout my project.
If you want I could send you my SCSS files to a personal message.
The text was updated successfully, but these errors were encountered: