Proberly detect variable changes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
fa95733b0d
commit
cf53560218
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue