I'm using Dotless on my ASP.NET MVC project, I have a main less file that just imports some other files.
e.g.
main.less contains:
@import "lib/utils" @import "lib/account" @import "lib/settings"
The idea is to have a single css file in the entire application.
When I save the main.less file the dotless compiler automatically generates the main.css file, however when I save one of the other files (like utils.less) it just generates the utils.css file, therefore if I make a change to any of the .less files I have to open the main.less and save it to trigger the compiler and get the .css file
I was wondering if there's a way to automatically compile the main less file no matter which .less file I save.
Thanks