Skip to main content

Port of tornado reloader to asyncio

Project description

https://img.shields.io/pypi/v/aioreloader.svg

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.

Files for aioreloader, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size aioreloader-0.3.0-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size aioreloader-0.3.0.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page