aioreloader

Port of tornado reloader to asyncio


Keywords
aiohttp, asyncio
License
MIT
Install
pip install aioreloader==0.4.0

Documentation

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!

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