Skip to content

Commit 9cf280d

Browse files
authored
Reload uvicorn on html file change (cookiecutter#3866)
1 parent 96dcbae commit 9cf280d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/developing-locally.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ First things first.
8282

8383
or if you're running asynchronously: ::
8484

85-
$ uvicorn config.asgi:application --host 0.0.0.0 --reload
85+
$ uvicorn config.asgi:application --host 0.0.0.0 --reload --reload-include '*.html'
8686

8787
.. _PostgreSQL: https://www.postgresql.org/download/
8888
.. _Redis: https://redis.io/download

{{cookiecutter.project_slug}}/compose/local/django/start

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -o nounset
77

88
python manage.py migrate
99
{%- if cookiecutter.use_async == 'y' %}
10-
uvicorn config.asgi:application --host 0.0.0.0 --reload
10+
uvicorn config.asgi:application --host 0.0.0.0 --reload --reload-include '*.html'
1111
{%- else %}
1212
python manage.py runserver_plus 0.0.0.0:8000
1313
{%- endif %}

0 commit comments

Comments
 (0)