Skip to content

Instantly share code, notes, and snippets.

@opencoca
Created April 10, 2017 14:34
Show Gist options
  • Save opencoca/6a91a7937bae54f777cf6f7e55b8f84d to your computer and use it in GitHub Desktop.
Save opencoca/6a91a7937bae54f777cf6f7e55b8f84d to your computer and use it in GitHub Desktop.
#!/bin/sh
while inotifywait -e modify .; do
lessc style.less > style.css
NOW=(date +"%T")
echo "$NOW : compiled style.less"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment