It comes with many ready to use site templates, installable CMS and blogging platforms such as WordPress, Joomla etc. and can be used to directly deploy your websites to Windows Azure too.
WebMatrix also supports extensions by which the functionality of WebMatrix can be extended. Once such useful extension is OrangeBits Compiler by OrangeBits is a WebMatrix extension that can be configured to automatically compile LESS files into CSS files and then to auto-minify the produced CSS file. Not only that, OrangeBits supports automatic compilation of SaSS, Scss and CoffeeScript too. It also has an option for Optimizing images in your project for the Web.
Configuring OrangeBits to compile LESS files
Once the installation is done, you can right click on any file in your project to view OrangeBits options in the context menu. Depending on the file you have chosen, these options will change. For e.g. on a LESS file you will find an option to compile, while on an image you will find option to Optimize. To set up the auto compilation, select the OrangeBits Option from the context menu and configure as needed. Below you can find the configuration options I selected for my setup to auto compile LESS files and auto minify CSS files.
Once configured, OrangeBits will automatically monitor changes to your files and compile them as needed.
1 thought on “Automatically compile LESS files in WebMatrix with OrangeBits”
I use http://beautifytools.com/less-compiler.php to compile my less code. Thanks for this tutorial.