`forceCopy` per Asset Bundle

Comparing #4 with #5

Content

[...]
public function init(){
parent::init();

// /!\ CSS/LESS development only setting /!\
// Touch the asset folder with the highest mtime of all contained files
// This will create a new folder in web/assets for every change and request

 
        // 
made to the app assets.
if (YII_ENV_DEV) {
$files = FileHelper::findFiles(\Yii::getAlias($this->sourcePath));
$mtimes = [];
foreach ($files AS $file) {
$mtimes[] = filemtime($file);
[...]