mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 14:34:53 +03:00
Add options to reload django when file changes in windows docker
This commit is contained in:
parent
83ceb39b50
commit
bac46de67f
|
@ -83,6 +83,15 @@ if env("USE_DOCKER") == "yes":
|
|||
# The node container isn't started (yet?)
|
||||
pass
|
||||
{%- endif %}
|
||||
{% if cookiecutter.windows == 'y' %}
|
||||
# RunServerPlus
|
||||
# ------------------------------------------------------------------------------
|
||||
# After how many seconds auto-reload should scan for updates in poller-mode
|
||||
RUNSERVERPLUS_POLLER_RELOADER_INTERVAL = 5
|
||||
|
||||
# Werkzeug reloader type [auto, watchdog, or stat]
|
||||
RUNSERVERPLUS_POLLER_RELOADER_TYPE = 'stat'
|
||||
{% endif %}
|
||||
{%- endif %}
|
||||
|
||||
# django-extensions
|
||||
|
|
Loading…
Reference in New Issue
Block a user