From: Guillaume Pellerin Date: Wed, 2 Mar 2016 11:09:10 +0000 (+0100) Subject: add patterns for font and img collectstatic X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=cef9dfc7e243e52b9f96585d883f421d42b108d3;p=mezzo.git add patterns for font and img collectstatic --- diff --git a/app/deploy/start_app.sh b/app/deploy/start_app.sh index 5fc440c7..9f006d7e 100644 --- a/app/deploy/start_app.sh +++ b/app/deploy/start_app.sh @@ -15,6 +15,7 @@ threads=2 autoreload=3 uid='www-data' gid='www-data' +patterns='*.jpg,*.jpeg,*.gif,*.png,*.svg,*.ttf,*.eot,*.woff,*.woff2' # Staging # pip install psycopg2 @@ -40,7 +41,7 @@ then python $manage runserver 0.0.0.0:9000 else # static files auto update - watchmedo shell-command --patterns="*.js;*.css" --recursive \ + watchmedo shell-command --patterns="$patterns" --recursive \ --command='python '$manage' collectstatic --noinput' $app & uwsgi --socket :$port --wsgi-file $wsgi --chdir $app --master \