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
symfony source-maps assetic


source to share


No one has answered this question yet

See similar questions:

4
Symfony2 Assetic and Less Sourcemaps

or similar:

24
Chrome won't load source CSS maps?
8
Symfony2 and Assetic - cssrewrite works fine for dev, not prod
6
Serving relative images using
2
Symfony2 and Assetic, dump / watch assets from Vagrant to NFS
2
Symfony2 Assetic - how to set different directories for assets in dev and prod env?
1
Symfony2 Bundle Shared Resource URL
1
Symfony assetic stylesheets batch shared folder path?
0
Symfony serves directly
0
Symfony2 Assetic links to undefined route
0
why are my smaller source maps not working?



All Articles
Loading...
X
Show
Funny
Dev
Pics