Config -> ConfigEngine
[myslice.git] / devel / server-loop.sh
index 94215e8..1ac43e4 100755 (executable)
@@ -7,6 +7,9 @@ hostname | grep -q '^z' && port=8080 || port=80
 [[ -n "$@" ]] && port=$1
 
 while true; do 
-    ./manage.py collectstatic --noinput
+    # we use make for convenience
+    # but what the static target really does is to invoke manage.py collectstatic 
+    make static templates
     ./manage.py runserver 0.0.0.0:$port
+       sleep 1
 done