Allows restarting the currently running executable.
Works with binaries and
ghci all functions are no-ops.
USE WITH CARE. This module uses
getScriptPath internally, which is experimental.
Please review it.
Forks a thread to check poll the own binary's modification time every, and restarts, and restarts it when it gets changed.
Waits the given number of seconds between checks.