Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.14 KB

README.rst

File metadata and controls

44 lines (29 loc) · 1.14 KB

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