-
Is there a way to automatically compile parent when compiling child ? For exemple : parent.scss child.scss If I change child.scss background to blue and save, it will recompile child.scss, I'd like it to automatically recompile parent.scss too, instead of having to do it manually everytime to see the changes, is it possible ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This extension doesn't read file contents to identify links. Instead - if a partial file is saved - it triggers the compilation of non-partial files. We also use the SASS principle of "underscored file prefixes are partial files". All this means that However, if you have a common directory/format for all your partial files, you can use Linked to #17 |
Beta Was this translation helpful? Give feedback.
-
This is incredible! I have a rather complicated partials folder structure and so it took some tinkering, but now whenever I save any partial, the main.scss file compiles. Your YouTube video was very helpful. Thank you! |
Beta Was this translation helpful? Give feedback.
This extension doesn't read file contents to identify links. Instead - if a partial file is saved - it triggers the compilation of non-partial files. We also use the SASS principle of "underscored file prefixes are partial files". All this means that
path/_file-starting-with-underscore.scss
would trigger the compilation of all non-partial files.However, if you have a common directory/format for all your partial files, you can use
liveSassCompile.settings.partialsList
. This setting allows you to specify an array of glob pattern that matches your partial files.Linked to #17