Skip to content

Instantly share code, notes, and snippets.

@Artistan
Created April 17, 2014 11:35
Show Gist options
  • Save Artistan/10976165 to your computer and use it in GitHub Desktop.
Save Artistan/10976165 to your computer and use it in GitHub Desktop.
less compile
#!/bin/bash
while true;
do N=`find -name "*.less" `;
inotifywait -qe modify $N ;
for f in $N;
do lessc $f ${f%.*}.css;
done;
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment