Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 1017 Bytes

README.src.md

File metadata and controls

54 lines (42 loc) · 1017 Bytes

[:var_set('', """

Compile command

aoikdyndocdsl -s README.src.md -n aoikdyndocdsl.ext.all::nto -g README.md """) ]
[:HDLR('heading', 'heading')]\

AoikLiveReload

Detect module file changes and reload the program.

Tested working with:

  • Python 2.7, 3.5

Demos:

Table of Contents

[:toc(beg='next', indent=-1)]

Setup

[:tod()]

Setup via pip

Run:

pip install AoikLiveReload

Setup via git

Run:

git clone https://github.com/AoiKuiyuyou/AoikLiveReload

cd AoikLiveReload

python setup.py install

Usage

Add the 3 lines to your code:

# Import reloader class
from aoiklivereload import LiveReloader

# Create reloader
reloader = LiveReloader()

# Start watcher thread
reloader.start_watcher_thread()

Now when there is a module file change, the program will be reloaded.