Closed chrispader closed 5 years ago
+1
I am also trying to figure out the same. I have been using grunt/gulp for a long time. But now since angular ts, its not needed anymore and not cool to use grunt only for LESS -> CSS.
Thanks in advance. -Sudeep
+1 Web Essentials for Visual Studio handles this. I'm trying to configure something similar for VsCode. Right now I need to manually go and save the parent LESS file every time.
Hi, I think what you are looking for is to add a comment to the top line of the vars.less file:
// main: index.less
Then if you change vars.less, index.less will also be compiled and your change should appear in index.css.
Thanks @MarkBird! I'll try it out soon.
If you have, for example a
index.less
:and a
vars.less
:It would be great, when I change something in the
vars.less
, if theindex.less
would also get compiled.