Explorar o código

Adde watch script for sass/coffeescript files

Taddeus Kroes %!s(int64=12) %!d(string=hai) anos
pai
achega
1b801eefa9
Modificáronse 1 ficheiros con 11 adicións e 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