Skip to content

and800/aioreloader

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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