watch-less
watch-less copied to clipboard
Support index.less to index.css
I have a index.less
file:
@import "variables.less"
@import "base.less"
a variables.less
file:
@main_color: #555;
@main_backcolor: #fff;
a base.less
file:
body{
background-color: @main_backcolor;
color: @main_color;
}
I hope to output index.css
file:
body{
background-color: #fff;
color: #555;
}
I don't really use this library anymore but I believe this should work already (at least it used to). All that should be required is saving the index.less file after watch-less is started and it should output the correct css for you.