Else when an upgrade happens we will recompile all the SCSS files all
the time (until the cache expires).
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
try {
$data = $this->rebaseUrls($compiledScss, $webDir);
$cachedfile->putContent($data);
- $depFile->putContent(json_encode($scss->getParsedFiles()));
+ $deps = json_encode($scss->getParsedFiles());
+ $depFile->putContent($deps);
+ $this->depsCache->set($folder->getName() . '-' . $depFileName, $deps);
$gzipFile->putContent(gzencode($data, 9));
$this->logger->debug($webDir.'/'.$fileNameSCSS.' compiled and successfully cached', ['app' => 'core']);
return true;