浏览代码

Adde watch script for sass/coffeescript files

Taddeus Kroes 12 年之前
父节点
当前提交
1b801eefa9
共有 1 个文件被更改,包括 11 次插入0 次删除
  1. 11 0
      watch.sh

+ 11 - 0
watch.sh

@@ -0,0 +1,11 @@
+#!/usr/bin/env sh
+
+hash inotifywait || (echo "Install inotify-tools first"; exit 1)
+
+make
+
+while true; do
+    inotifywait --quiet --event attrib,modify *.sass *.coffee
+    sleep 0.05s
+    make
+done