AssetManager icon indicating copy to clipboard operation
AssetManager copied to clipboard

service filters not called in ConsoleController

Open mael-lg opened this issue 10 years ago • 2 comments
trafficstars

I would like to create all my assets files in a command. I decided to use warmupAction of the AssetManager\Controller\ConsoleController but it seems that filters (by services) are not called in that way...

mael-lg avatar Feb 19 '15 11:02 mael-lg

@mael-lg I'm not entirely sure what you're asking. @sokac is the main author of the cache warmup, so perhaps he'll be able to answer your question.

RWOverdijk avatar Feb 19 '15 11:02 RWOverdijk

In fact, I've configured a filter with the index service (a css minifier). When I request a single file in my browser, the generated css is minified. But when I use the ConsoleController to generate all my files in a row, generated files are not minified.

mael-lg avatar Feb 19 '15 12:02 mael-lg