You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are you proposing? How should it be implemented?
Add this code when window = y when generating project, for reloading django code in window.
end of base.py
# RunServerPlus
# ------------------------------------------------------------------------------
{% if cookiecutter.windows == 'y' %}
# 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 %}
Rationale
Why should this feature be implemented?
In window with docker, somehow(might be filesytem problem) reload doens't work with default RELOADER_TYPE.
So we should add above code but when the first time using cookiecutter, all of users don't realize what happens like me.
So it should be set by default when windows option as y in generating project step.
The text was updated successfully, but these errors were encountered:
For someone who is facing same issude. I really recommend you guys using wsl2 ubuntu system in windows.
It makes better experience.
But I still leave this issue and PR for some other people.
Description
What are you proposing? How should it be implemented?
Add this code when window = y when generating project, for reloading django code in window.
Rationale
Why should this feature be implemented?
In window with docker, somehow(might be filesytem problem) reload doens't work with default RELOADER_TYPE.
So we should add above code but when the first time using cookiecutter, all of users don't realize what happens like me.
So it should be set by default when windows option as y in generating project step.
The text was updated successfully, but these errors were encountered: