Tag Info

New answers tagged

1

There is now much easier method. Install NodeJs. And via NPM install less-monitor https://www.npmjs.org/package/less-monitor


0

Use a makefile. In the directory where the files are, create a file called Makefile containing: %.css: %.less lessc $^ > $@ Then run: make Makefiles are flexible and smart. make only compiles those files which have changed. Many projects, large and small, use them to build software.


0

#!/bin/bash for i in *.less do lessc $i > ${i/less/css} done This assumes lowercase for .less extension. If they are not all lowercase, then the substitution expression is more complex.


0

for i in $(ls *.less) ; do lessc $i; done;



Top 50 recent answers are included