Skip to content

Commit e4c28be

Browse files
committed
chore: enable live reload in dev mode with gunicorn
1 parent ed13f00 commit e4c28be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -eu
33
if [ ${MODE:-""} == "development" ]; then
44
if [ -f /app/requirements.txt ]; then pip install -r /app/requirements.txt; fi
5-
exec gunicorn -k egg:meinheld#gunicorn_worker -c "$GUNICORN_CONF" "$APP_MODULE"
5+
exec gunicorn -k --reload egg:meinheld#gunicorn_worker -c "$GUNICORN_CONF" "$APP_MODULE"
66
else
77
exec gunicorn -k egg:meinheld#gunicorn_worker -c "$GUNICORN_CONF" "$APP_MODULE"
88
fi

0 commit comments

Comments
 (0)