소스 검색

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