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.3.0.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for aioreloader-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f26046962082de96c8aa895599d26ee7b08a8991fe8b092b32a8a52e6c61b9c4 |
|
MD5 | 75d6a8308b7c501e60dc6a961df3e2fe |
|
BLAKE2b-256 | 7a03569f1f65fb0370fdafe6d2e111bd1fe0a571318b20abae2898812e9b85de |