css - Automatically compile LESS file on build server after every build -


i have main.less file in turn imports multiple other less files. want achieve have main.less file compiled main.css file after every build on build server. tried installing nodejs package dotless nuget package visual studio. there way somehow isolate nodejs package files 1 folder in project compilation of less file can run on machine not have npm installed ? options achieving this? can done lessc package ?

the command line lessc compiler have watch function, client side less.js compiler has one. should use following code in html:

<link rel="stylesheet/less" type="text/css" href="main.less" /> <script>less = { env: 'development'};</script> <script src="less.js"></script> <script>less.watch();</script> 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -