Skip to content

alexanderthegreat96/nadeshot-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nadeshot Watcher

Self-Restarting Python Appplication Development Tool. To simply put it, it aids with real-time python development.

Demo

Alt text

Why?

I was looking for an efficient way to restart my real-time running apps while I was doing changes to the source code. There are a lot of opinions of what to use, but none come as a 1 exe file that does that for you.

How does it work?

Nadeshot Watcher uses Go-Routines to start proceses for you, in essence, it will start your Python Script / Bot for you and keep it running, until it detects file system changes, once that happens, it restarts it and removes the previous thread / go-routine.

Why 2 variants?

Simple, if you use Docker, it doesn't like file system events, instead of using that, the program indexes everything consistently and then detects changes.

Which should I use?

  • Docker -> Docker
  • Regular -> Windows / Linux

This program is part of Discord Nadeshot, my discord bot framework.

Configuring a different start-up file than main.py

In the application directory, create a new file called: watcher.ini

my-script.py

Now the watcher is always rebooting my-script.py

No licence, EVERYONE IS FREE!!!

About

Python Real-time Application Development Tool

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published