I'm wondering if anyone can help me with some AsseticBundle configuration in conjunction with Symfony 2's dev
environment.
Each time a page loads in the dev
environment Assetic will recompile any assets, in my case I am compiling Sass files using the CompassFilter
.
My problem is that when I have a malformed Sass file my page simply loads without any generated stylesheet - instead I want Assetic to show me the Compass/Sass compiler output as if an exception had occurred (i.e. I get the Symfony2 "oops" screen).
Does anyone know if there is a configuration to achieve this?
My current config.yml
is:
assetic:
debug: %kernel.debug%
use_controller: false
sass: /var/lib/gems/1.8/bin/sass
filters:
compass:
bin: /var/lib/gems/1.8/bin/compass
apply_to: "\.scss$"
scss: ~
with config_dev.yml
overriding only one line to:
assetic:
use_controller: true