Hacker News new | ask | show | jobs
by pronoyc 2194 days ago
How is this different from using Python Watchdog?

https://pythonhosted.org/watchdog/

1 comments

Looks like it starts a thread that repeatedly hashes the content of the target script to poll for changes. Watchdog uses OS features like inotify and FSEvents and only uses polling and comparing hashes as a fallback.