lib/private/Template/SCSSCacher.php
/**
	 * Reset scss cache by deleting all generated css files
	 * We need to regenerate all files when variables change
	 */
Reset scss cache by deleting all generated css files
We need to regenerate all files when variables change
Reset scss cache by deleting all generated css files We need to regenerate all files when variables change
private function resetCache() {
		$appDirectory = $this->appData->getDirectoryListing();
		if(empty($appDirectory)){
			return;
		}
		foreach ($appDirectory as $folder) {
			foreach ($folder->getDirectoryListing() as $file) {
				if (substr($file->getName(), -3) === "css" || substr($file->getName(), -4) === "deps") {
					$file->delete();
				}
			}
		}
	}
private function resetCache ( ) { $ appDirectory = $ this -> appData -> getDirectoryListing ( ) ; if ( empty ( $ appDirectory ) ) { return ; } foreach ( $ appDirectory as $ folder ) { foreach ( $ folder -> getDirectoryListing ( ) as $ file ) { if ( substr ( $ file -> getName ( ) , - 3 ) === " css " || substr ( $ file -> getName ( ) , - 4 ) === " deps " ) { $ file -> delete ( ) ; } } } }
Reset scss cache by deleting all generated css files
 We need to regenerate all files when variables change
Reset scss cache by deleting all generated css files We need to regenerate all files when variables change