Explorar el Código

Adde watch script for sass/coffeescript files

Taddeus Kroes hace 12 años
padre
commit
1b801eefa9
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  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