Skip to content

AoiKuiyuyou/AoikLiveReload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AoikLiveReload

Detect module file changes and reload the program.

Tested working with:

  • Python 2.7, 3.5

Demos:

Table of Contents

Setup

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.

About

Detect module file changes and reload the program.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages