Просмотр исходного кода

Adde watch script for sass/coffeescript files

Taddeus Kroes 12 лет назад
Родитель
Сommit
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