Reruns your python program when source files changes, with the possibility to preload libraries.
$ vire -h
usage: vire [--clear] [--preload M] [--glob G] [--silent] [--auto-full-reload] [-m] ...
pip install git+https://github.com/danr/vire.git
--clear, -c Clear the screen before invoking the utility.
Specify twice to erase the scrollback buffer.
--preload M, -p M Modules to preload, comma-separated. Example: flask,pandas
--glob G, -g G Watch for updates to files matching this glob, Default: **/*.py
--silent, -s Silence warning about modifications to preloaded modules.
--auto-full-reload, -r Automatically do full reload on modifications to preloaded modules.
-m Argument is a module, will be run like python -m (using runpy)
r, <space> | reload |
R | full reload: reloads all preloaded modules |
c | reload with clear screen |
C | reload with clear screen and scrollback buffer |
q, <ctrl-c> | quit |