diff --git a/.gitignore b/.gitignore index c75198a0..6d6b1613 100755 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ celerybeat-schedule* dump.rdb debugpy* uwsgi.sock +.uwsgi-reload package-lock.json models .idea diff --git a/docker/uwsgi.debug.ini b/docker/uwsgi.debug.ini index 6753d1a6..80f45ae8 100644 --- a/docker/uwsgi.debug.ini +++ b/docker/uwsgi.debug.ini @@ -66,7 +66,9 @@ ignore-write-errors = true disable-write-exception = true # Debugging settings -py-autoreload = 1 +# Reload API workers: touch /app/.uwsgi-reload +; py-autoreload = 1 +touch-workers-reload = /app/.uwsgi-reload honour-stdin = true # Environment variables