The example doesn't work out-of-the-box, as changes aren't reloaded. IMO, this line in examples/server/settings.py should default to True:
DEBUG = config("DEBUG", cast=bool, default=False)
As background, I was working very slowly on writing just this very thing: a reloader more sophisticated/performant than livereload, based on the watchgod changeset approach, in Starlette. But learning asyncio was really slowing me down. Thanks!
The example doesn't work out-of-the-box, as changes aren't reloaded. IMO, this line in
examples/server/settings.pyshould default toTrue:As background, I was working very slowly on writing just this very thing: a reloader more sophisticated/performant than
livereload, based on thewatchgodchangeset approach, in Starlette. But learning asyncio was really slowing me down. Thanks!