Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django + Daphne hot reload after code updates

I am running a Django restserver application served by Daphne and Nginx acting as reverse proxy. I also have a periodic cron job that pulls updated code from my git to the server.

I am not able to find a way to do a hot reload and regenerate the pyc files like it how it does in Django development server. Is there a good way to go about this?

Don't want to restart my entire server for this.

like image 484
DancingJohn Avatar asked Nov 08 '22 09:11

DancingJohn


1 Answers

This is not supported yet. There is an open issue here: https://github.com/django/daphne/issues/9

like image 183
Jan DB Avatar answered Nov 15 '22 05:11

Jan DB