Skip to content

Compiling parent when compiling child #296

Closed Answered by glenn2223
NecroSyri asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@NecroSyri
Comment options

Answer selected by NecroSyri
Comment options

You must be logged in to vote
2 replies
@glenn2223
Comment options

@ChristopherWelte
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants