Oh, who am I kidding. Nobody, obviously.
https://pypi.org/project/watchdog/
https://github.com/gorakhargosh/watchdog
EDIT: Now I'm wondering how often I miss out on something because I confuse it for something I already use. Maybe there is room for a "things I use" or "things I know about" browser plugin.
> The Watchdog Timer in the PIC16F819 The watchdog timer can be a real source of pain and can also make a PIC system incredibly robust and reliable. But what exactly is the watchdog timer? Simply put, the watchdog timer is a hardware timer in the PIC that, if not constantly reset by the software, will cause the PIC to reset. This feature can be incredibly useful if the PIC should hang due to a hardware or software issue and guarantees that the PIC will restart from the beginning. Not only does it reset the system, it also flags a bit that can be used to determine if the system just crashed.
Ref: https://maker.pro/pic/tutorial/how-to-get-started-with-pic-m...
[1]: PIC microcontroller, is a small hardware simliar to arduino but more on a lower level.
Advantages of Facebook’s watchman:
1. Implements efficient file system event watches on macOS and Windows
2. IPC/daemon system reduces resource use because overlapping watches/triggers don’t use more inotify slots.
3. Denounces / waits for changes to settle
4. Client libraries in a few different languages for scripting purposes
https://facebook.github.io/watchman/