Watch for changes in HTML files too

Mark Veidemanis 1 year ago
parent f90f388e87
commit 74c46f2647
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -16,7 +16,7 @@ repos:
args: [--max-line-length=88]
exclude: ^core/migrations
- repo: https://github.com/rtts/djhtml
rev: 'v1.5.2' # replace with the latest tag on GitHub
rev: 'v1.5.2'
hooks:
- id: djhtml
args: [-t 2]
@ -25,7 +25,6 @@ repos:
- id: djjs
exclude: ^core/static/js # slow
- repo: https://github.com/sirwart/ripsecrets.git
# Set your version, be sure to use the latest and update regularly or use 'main'
rev: v0.1.5
hooks:
- id: ripsecrets

@ -19,5 +19,5 @@ COPY requirements.prod.txt /code/
RUN python -m venv /venv
RUN . /venv/bin/activate && pip install -r requirements.prod.txt
# CMD . /venv/bin/activate && uwsgi --ini /conf/uwsgi.ini
CMD . /venv/bin/activate && uvicorn --reload --workers 2 --uds /var/run/socks/app.sock app.asgi:application
CMD . /venv/bin/activate && uvicorn --reload --reload-include *.html --workers 2 --uds /var/run/socks/app.sock app.asgi:application
# CMD . /venv/bin/activate && gunicorn -b 0.0.0.0:8000 --reload app.asgi:application -k uvicorn.workers.UvicornWorker

@ -19,3 +19,4 @@ pydantic
alpaca-py
oandapyV20
glom
watchfiles

Loading…
Cancel
Save