diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index b091e555c1..60b3c475f6 100644 --- a/lib/private/Template/SCSSCacher.php +++ b/lib/private/Template/SCSSCacher.php @@ -135,6 +135,9 @@ class SCSSCacher { * @return boolean */ private function isCached($fileNameCSS, ISimpleFolder $folder) { + if ($this->variablesChanged()) { + return false; + } try { $cachedFile = $folder->getFile($fileNameCSS); if ($cachedFile->getSize() > 0) {