Port of tornado reloader to asyncio
Project description
Tool that reloads your asyncio-based application automatically when you modify the source code.
Most of code has been borrowed from Tornado reloader built mostly by @finiteloop and @bdarnell. Thanks!
From 0.3.x version aioreloader natively supports -X python arguments. Which is recommended way for development debug mode in aiohttp.
Usage
Here’s an example of usage with aiohttp framework:
app = aiohttp.web.Application()
aioreloader.start()
aiohttp.web.run_app(app)
To add any file to watching list (which is not loaded as a python module):
aioreloader.watch('/etc/app_config.yml')
Requirements
Python - at least 3.5
Installation
$ pip install aioreloader
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aioreloader-0.4.0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for aioreloader-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d527780b78e28bc6a864506206380ebf93e42e39add138dbec14a46e2558bff7 |
|
MD5 | f421ee769803f30dff99dd6237156cc1 |
|
BLAKE2b-256 | 515186cd85f584fb3ca7d8c0d7d37f9e1eba837bf57f856c4289ff9ea3d6b72b |