Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexanderthegreat96/nadeshot-watcher
Python Real-time Application Development Tool
https://github.com/alexanderthegreat96/nadeshot-watcher
python restarter watcher
Last synced: 6 days ago
JSON representation
Python Real-time Application Development Tool
- Host: GitHub
- URL: https://github.com/alexanderthegreat96/nadeshot-watcher
- Owner: alexanderthegreat96
- Created: 2023-12-07T19:35:08.000Z (about 1 year ago)
- Default Branch: origin
- Last Pushed: 2024-02-19T18:05:31.000Z (11 months ago)
- Last Synced: 2024-06-21T08:20:18.578Z (7 months ago)
- Topics: python, restarter, watcher
- Language: Go
- Homepage:
- Size: 23.5 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Nadeshot Watcher
Self-Restarting Python Appplication Development Tool. To simply put it, it aids with real-time python development.### Demo
![Alt text](demo.png)
### 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 / LinuxThis program is part of [Discord Nadeshot](https://github.com/alexanderthegreat96/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
```text
my-script.py
```
Now the watcher is always rebooting my-script.py#### No licence, EVERYONE IS FREE!!!