johan-v-r / LibSassBuilder

Sass builder for .NET projects
MIT License
99 stars 14 forks source link

no compile when sass included file has changed #21

Closed Michael-Anderlin closed 3 years ago

Michael-Anderlin commented 3 years ago

Hello,

I have a main styles.sass that includes other _xx.sass. In the config I have set

    <SassFile Include="wwwroot/css/**/*.sass" Exclude="wwwroot/css/**/_*.sass" />

to exclude included sass (which I think is also filtered in your code) If any _xx.sass change but not the styles.sass, I got 1>LibSass_DetermineBuildNeeded: Evaluating Sass files Sass hash New = 97c3fbaf0eec1cff794ebc9a9fbf65565b7b0dd0 Sass hash Old = 97c3fbaf0eec1cff794ebc9a9fbf65565b7b0dd0 Sass changed = false

What should I do ?

Tx.

Regards,

Michael

johan-v-r commented 3 years ago

Hi there - try removing that Exclude attribute of yours so it looks like this:

<SassFile Include="wwwroot/css/**/*.sass" />
Michael-Anderlin commented 3 years ago

Hello,

That works, tx !

regards,

Michael