hundreds-noon-81667
09/25/2024, 9:40 PMpython_sources(name="src", skip_mypy=True)
pex_binary(
name="web",
entry_point="gunicorn",
dependencies=[":src", "./templates:templates", "./static/css:css"],
args=[
"dh.cannery.web:create_app",
"--access-logfile=-",
"--bind",
"0.0.0.0:8091",
"--worker-class",
"aiohttp.GunicornWebWorker",
],
layout="packed",
execution_mode="venv",
restartable=True,
)
I'd have assumed adding dependencies for the templates and css would also watch those files. Please let me know.happy-kitchen-89482
09/27/2024, 6:17 AMdependencies
should ensure that the files targets they match cause the reloading you expect. Does this work when .py
files are changed?hundreds-noon-81667
10/03/2024, 3:13 AMhappy-kitchen-89482
10/03/2024, 7:17 PMhappy-kitchen-89482
10/03/2024, 7:19 PMhundreds-noon-81667
10/03/2024, 7:29 PM