diff --git a/Classes/Compiler.php b/Classes/Compiler.php index a89d7d6..bccd10e 100644 --- a/Classes/Compiler.php +++ b/Classes/Compiler.php @@ -102,7 +102,7 @@ public static function compileFile(string $scssFilePath, array $variables, ?stri /** @var FileBackend $cache */ $cache = GeneralUtility::makeInstance(CacheManager::class)->getCache('ws_scss'); - $cacheKey = hash('sha1', $scssFilePath); + $cacheKey = hash('sha1', $scssFilePath . ($variablesHash ?? '')); $calculatedContentHash = self::calculateContentHash($scssFilePath, $variables); $calculatedContentHash .= md5($cssFilePath); if ($useSourceMap) {