hawk
hawk copied to clipboard
Ensure that the watcher thread is a daemon thread
Calling .setDaemon with true on the watcher thread allows the JVM to exit even if the thread is still active, so it doesn't have to be explicitly shut down on process exit.