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
With default runserver_plus reloader_type, when django template code changes, sometimes doens't detect changes.
sometimes happens three times detected with once code change.
What should've happened instead?
When code change, it should be detected immediately at once.
Additional details
Host system configuration:
Version of cookiecutter CLI (get it with cookiecutter --version):
Cookiecutter 2.6.0 from /home/ubuntu/.pyenv/versions/3.12.2/lib/python3.12/site-packages (Python 3.12.2 (main, Apr 6 2024, 15:39:34) [GCC 11.4.0])
Docker version (if using Docker): Docker version 25.0.3, build 4debf41
docker compose version (if using Docker), run docker compose --version: Docker Compose version v2.24.6-desktop.1
...
Options selected and/or replay file:
On Linux and macOS: cat ${HOME}/.cookiecutter_replay/cookiecutter-django.json
(Please, take care to remove sensitive information)
With that option, It isn't issue.
But I guess we need some explanations, because someone thinks wsl ubuntu env is not related windows.
So they might check windows as n.
In document or creating template instruction with cookiecutter command, I guess it's better to announce.
How do you think?
What happened?
With default runserver_plus reloader_type, when django template code changes, sometimes doens't detect changes.
sometimes happens three times detected with once code change.
What should've happened instead?
When code change, it should be detected immediately at once.
Additional details
Host system configuration:
Version of cookiecutter CLI (get it with
cookiecutter --version
):Cookiecutter 2.6.0 from /home/ubuntu/.pyenv/versions/3.12.2/lib/python3.12/site-packages (Python 3.12.2 (main, Apr 6 2024, 15:39:34) [GCC 11.4.0])
OS name and version:
windows wsl2 ubuntu
Python version,:
Python 3.12.2
Docker version (if using Docker):
Docker version 25.0.3, build 4debf41
docker compose version (if using Docker), run
docker compose --version
:Docker Compose version v2.24.6-desktop.1
...
Options selected and/or replay file:
On Linux and macOS:
cat ${HOME}/.cookiecutter_replay/cookiecutter-django.json
(Please, take care to remove sensitive information)
I found a workaround.
When I changed RUNSERVERPLUS_POLLER_RELOADER_TYPE to stat.
It works properly. It might be related to wsl2 issue #4970
The text was updated successfully, but these errors were encountered: