Skip to content

Instantly share code, notes, and snippets.

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