Proberly detect variable changes

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-01-04 19:10:27 +01:00
parent fa95733b0d
commit cf53560218
No known key found for this signature in database
GPG Key ID: FB5ACEED51955BF8
1 changed files with 3 additions and 0 deletions

View File

@ -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) {