From cf53560218281571d686fc280a5b47c43330d6e9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Thu, 4 Jan 2018 19:10:27 +0100 Subject: [PATCH] Proberly detect variable changes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- lib/private/Template/SCSSCacher.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index b091e555c12..60b3c475f65 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) { -- 2.39.5