问题
I tried simpless, but is not supported now for linux. I tried with wine, and later another alternatives. I don't want to type: lessc file.less > file.less each time I modify a file.
Any good compiler, confortable, automatically, for less CSS?
What is the linux tool that has same functionality as WinLESS i.e. that compiles less files whenever they change taking into account which less files include which?
回答1:
The most obvious way is to run the javascript implementation on Node.
For Ubuntu, start by installing nodejs
and npm
, then see e.g. these instructions for compiling LESS to CSS with Node. You should get it going with something like
npm install -g less
lessc mystyle.less
来源:https://stackoverflow.com/questions/11862846/less-css-for-ubuntu-and-compilation-automatically