Pipeline not Re-Compiling After Changes

You’re right, that’s not happening. It was obscured because HASH in _gen/assets/sass/style.sass_HASH did not change, as would be expected if cache eviction doesn’t hit, I guess.

That’s an indication that “that particular file didn’t change” (it’s a hash of content + all options used), but as we now established that we don’t calculate a “content hash” or anything of the complete graph, the files in “_gen/assets/sass” isn’t a cache. We only use it in the Netlify and similar scenarios (where the extended version for some reason is not available).

As a side note, the images below _gen/images is a proper cache (because of the simpler hashing scenario). But that is also a more time consuming thing than building some SASS.

I just had the same issue…

Finally found the cause: I had this:
`{{ $styles := resources.Get “scss/screen.scss” | toCSS | postCSS | minify | fingerprint }}``

but I did not have postCSS installed (I also did not use it). After removing postCSS, all was well.

Took me an hour to find the root cause.

1 Like