How to automatically reload Django when files change?

后端 未结 4 2030
醉酒成梦
醉酒成梦 2020-12-14 07:57

How to automatically monitor .py, .js and other source code files to restart a Django (or any other for that matter) application and refresh the browser when the source chan

4条回答
  •  抹茶落季
    2020-12-14 08:32

    Using python manage.py runserver is what most use. You'll have to use another tool like: http://livejs.com/ to refresh the browser itself since Django really isn't aware of it.

提交回复
热议问题