230941ff4f
* Fix watchdog reload worker repeatedly if there are multiple changed files * Simplify autoreloader, don't need multiprocessing.Process. Now works on OSX py38. * Allow autoreloader with multiple workers and run it earlier. * This works OK on Windows too. * I don't see how cwd could be different here. * app.run and app.create_server argument fixup. * Add test for auto_reload (coverage not working unfortunately). * Reloader cleanup, don't use external kill commands and exit normally. * Strip newlines on test output (Windows-compat). * Report failures in test_auto_reload to avoid timeouts. * Use different test server ports to avoid binding problems on Windows. * Fix previous commit * Listen on same port after reload. * Show Goin' Fast banner on reloads. * More robust testing, also -m sanic. * Add a timeout to terminate process * Try a workaround for tmpdir deletion on Windows. * Join process also on error (context manager doesn't). * Cleaner autoreloader termination on Windows. * Remove unused code. * Rename test. * Longer timeout on test exit. Co-authored-by: Hùng X. Lê <lexhung@gmail.com> Co-authored-by: L. Kärkkäinen <tronic@users.noreply.github.com> Co-authored-by: Adam Hopkins <admhpkns@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
__version__.py | ||
app.py | ||
asgi.py | ||
blueprint_group.py | ||
blueprints.py | ||
compat.py | ||
config.py | ||
constants.py | ||
cookies.py | ||
errorpages.py | ||
exceptions.py | ||
handlers.py | ||
headers.py | ||
helpers.py | ||
log.py | ||
reloader_helpers.py | ||
request.py | ||
response.py | ||
router.py | ||
server.py | ||
static.py | ||
testing.py | ||
views.py | ||
websocket.py | ||
worker.py |