Dave Taylor
Dave Taylor

Reputation: 2045

VS Web Essentials 2012 compile master LESS on imported save

I am trying to maintain a global .less file which @imports the rest of the application .less files.

I am currently developing this project in Visual Studio 2012 using the Web Essentials extension which automatically generates css files on save.

However it only compiles the .less file which has just been saved and it's children and I want upstream "master" .less files which @import the current file to be compiled.

Anyone know how to do this?

Upvotes: 9

Views: 2091

Answers (1)

Mads Kvist Kristensen
Mads Kvist Kristensen

Reputation: 2620

In the latest nightly build, you now have an option to compile all LESS files on build. That takes care of the import chain issue when updating chained LESS files. Get the latest nightly here: http://madskristensen.net/custom/webessentials2012.vsix?1.8.9.1

Upvotes: 5

Related Questions