symfony/AsseticBundle — Issue #47: Assetic in dev env
Author: vazgen
Created: 2011-11-16 09:53:03+00:00
State: open

Hello,

I have a problem with this in dev environment, in prod all words as need to (js an css are being compressed).

in config.yml
assetic:
debug: %kernel.debug%
use_controller: false
filters:
cssrewrite: ~
yui_css:
jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
yui_js:
jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"

but in dev there is
assetic:
use_controller: true

so, in dev I have a error message like
[exception] 500 | Internal Server Error | RuntimeException
[message]
[1] RuntimeException:
at n/a
in /Applications/MAMP/htdocs/wfs/symfony/vendor/assetic/src/Assetic/Filter/Yui/BaseCompressorFilter.php line 98

at Assetic\Filter\Yui\BaseCompressorFilter->compress('html,body{margin:0;padding:0}

Am I doing something wrong? or is it a bug?