rburmorrison / pywatch-old

Monitors a python file for changes and auto-reloads it.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pywatch

Monitors a python file for changes and auto-reloads it.

Setup

UNIX Systems

  1. Move the folder to your desired location
  2. Create an alias in your /.bashrc (Linux or MacOS) or /.bash_profile (MacOS) for pywatch

Notes

  1. This module was developed for most systems, but was only tested on UNIX systems. Some features may not work on Windows systems.
  2. The python or python2 command must be accessible from the terminal
  3. To use the python2 command, use the -s flag
  4. Files importing each other is not supported. For example, test.py may not import test2.py if test2.py also imports test.py

About

Monitors a python file for changes and auto-reloads it.


Languages

Language:Python 100.0%