Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pronoyc
· 6y ago · 0 comments
How is this different from using Python Watchdog?
https://pythonhosted.org/watchdog/
Comments
[–]
erikschoster
6y ago
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.