-
Notifications
You must be signed in to change notification settings - Fork 2
Less_Cache should take options into account #350
Comments
Hi, I consider this feature in my fork, could you try to require Thanks. |
Replaced Looking at the diff though, and your change looks to be inside an How I call the method: File::mkdir(self::CACHE);
$this->_css = self::CACHE . Lessc::Get([ $this->_less => WEBROOT ],
[
'compress' => true,
'strictMath' => true,
'cache_dir' => self::CACHE,
'indentation' => "\t",
'import_callback' => [$this, 'find_import'],
]); Tested it by toggling |
OK, understood the point. I will inspect that. You should be able to work-around this meanwhile by passing the |
Sorry I broke something, now I enable TravisCI to avoid such regression, please try with this version: https://github.com/kylekatarnls/less.php/releases/tag/v1.7.0.17 |
When I change options (like
'compress' => true / false
), theLess_Cache::get
doesn't seem to care and just reuses its cache. 😕This is a bit annoying, especially for me who's trying to figure out how to use this thing. 😛
Would it be possible for the
Less_Cache::get
method to also take into account its given options when deciding if it needs to re-compile?The text was updated successfully, but these errors were encountered: