Skip to main content

Restart WSGI server on code changes

Project description


Restart wsgi server on Python code changes.

Installation and usage


pip install reloadex

Install from git:

pip install

Given example Flask application.

from flask import Flask
app = Flask(__name__)

def hello_world():
    return 'Hello, World!'

def main():

if __name__ == "__main__":

To run this app with reloader specify module name or filename, with main function:

reloadex my_app:main

By default main function is invoked, so above simplifies to:

reloadex my_app

Using python module invocation also works:

python -m reloadex my_app:main

Reloader uses current working directory as root: there it looks for .reloadignore and recursively watches all subdirectories.

Getting source for local development

git clone
cd reloadex
pip install -e .

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 reloadex, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size reloadex-0.4.1-py3-none-any.whl (26.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page