I build my site with some less files inside and also with some of another assets, I use h**ps://github.com/zsoltlengyelit/LessCSS-for-Yii for compile less files, and h**ps://github.com/andremetzen/yii-s3assetmanager for deploy to S3.
But the problem is when I refresh the assets and want to generate the new one it takes so long until my server stop because its already reach max execution time for compiling the CSS, and I've got a better idea to generate all this assets and publish it with console so I could run it when I deploy to production. But another problem is comes up, I couldn't run :
Yii::app()->getAssetManager()->publish();
it always said :
CConsoleApplication.clientScript is not defined
Is there any chance/way to publish assets with commands/console? I hope this make sense for you.
Thanks.

Help















