OpenBuildings/asset-merger — Issue #2: Method of determining if imported files have changed.
Author: mattupstate
Created: 2011-12-06 16:54:30+00:00
State: open

My case is that I have one file, `application.css.less`, that includes a bunch of import statements:

@import "reset.css.less";
@import "variables.css.less";
@import "mixins.css.less";

This is really handy because I don't need to do imports in other files. The asset(s) are configured as such:

Assets::factory('main')->css('application.css.less');

Unfortunately, asset-merge won't recognize that changes to the imported files have been made and recompile/process them.

Perhaps this is an edge case, or better way around this, but it'd be great if asset-merger had some way around this.

Great module, by the way, this sort of thing is essential in all web projects now, if you ask me.