I need some tips on how to work with assets in Symfony 2. For example, do we have to always perform the assets:update every time an image is added ? I know Assetic take care
As of Symfony 2.7 this will generate relative symlinks in web directory:
web
php app/console assets:install web --symlink --relative
In composer.json add:
"extra": { "symfony-assets-install": "relative" }
This will also generate relative symlinks on composer update.
composer update