forget about manage.py collectstatic and come up with our own brew
[myslice.git] / devel / server-loop.sh
index 9c9d727..a108f93 100755 (executable)
@@ -6,6 +6,8 @@ cd $DIRNAME/..
 hostname | grep -q '^z' && port=8080 || port=80
 [[ -n "$@" ]] && port=$1
 
+make all-static all-templates
 while true; do 
     ./manage.py runserver 0.0.0.0:$port
+    make static templates
 done