News for hackers. Stuff that matters.
Re:Hot-swapping Python 3 code by pronoyc on Sunday June 14, 2020 @01:53AM (#23515439)
How is this different from using Python Watchdog?

https://pythonhosted.org/watchdog/

Re:Hot-swapping Python 3 code by erikschoster on Sunday June 14, 2020 @02:11AM (#23515499)
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.