I haven’t use these file watching classes myself. You’re just going to have to figure it out.
Okay. By the way, since I store the async thread in the persistent dictionary, calling persist['fw'].thread.interrupt()
will terminate the thread. It disappears from the gateway thread pool afterwards. No more gateway restarts to clean up testing or having to join()