Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 209
Dave Taylor Avatar asked Nov 16 '12 11:11

Dave Taylor


1 Answers

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

like image 76
Mads Kvist Kristensen Avatar answered Oct 23 '22 12:10

Mads Kvist Kristensen