Created
June 28, 2013 02:49
-
-
Save rozap/5882121 to your computer and use it in GitHub Desktop.
monitor a directory of less files and compile the output to a css file when anything changes in the directory. requires inotify-tools, here https://github.com/rvoicilas/inotify-tools/wiki
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
while inotifywait -e modify .; do | |
lessc all.less > ../css/style.css | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment