fstrube/closure-auto-compiler — Issue #2: Use inotifywait instead of sleep
Author: colinmollenhour
Created: 2011-11-11 19:40:00+00:00
State: open

A script I wrote to do the same things uses inotifywait like so:

```bash
inotifywait -q -m -e create --format '%w%f' $media/js $media/css | \
while read newfile; do
compress $newfile
done
```