Restarts your asyncio application when source code is modified
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
aioreloader
.editorconfig
.gitattributes
.gitignore
.travis.yml
LICENSE
README.rst
setup.py

README.rst

aioreloader

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!

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.3

Installation

$ pip install aioreloader