Symphony2

I am using: - Symfony2 - Assistant (Package) - NodeJs tools to compile css + js via assetic

My fewer files are not kept in public-dir (obviously).

I want to use source mapping to be able to edit less / js files in the browser in the dev environment.

Looking at this question: Symfony2 Assetic and Less Sourcemaps I already have the mapping information at the bottom of each generated css file.

But both Google Chrome and Mozilla Firefox don't download fewer files. Probably because they are not in the public directory, but I don't want them there, obviously.

How can I set up assetic so that I can open + edit + save fewer files in my browser? This should be desirably linked to disk directly, as I would like to later commit these files to git.

Additional question: * Is it possible to create a separate file-map? As I read that Google Chrome prefers this to reboot when something changes.

+3


source to share





All Articles