Skip to content

icsboyx/watchgod_reload_modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Watchgod Module for watching file changes and restart modules

This is a simple example of using watchgod module for watching file changes inside project directory and restart all loaded modules.

Features

  • watch for file changes in project directory
  • restart all loaded modules

Installation

To install the dependencies for this project, run the following command:

pip install -r requirements.txt
python main.py

Usage

Once the main.py is running you can modify modules file inside modules directory and watchgod will restart all loaded modules

Special Thanks

This project was inspired by the Twitch channel of Prof. Andrea Pollini and the supportive Twitch community. Thanks to their encouragement and feedback, this bot was created to enhance the Twitch chat experience. Special thanks also go to the developers of Pygame and gTTS for their excellent libraries.

License

This project is licensed under the MIT License - see the LICENSE for details.