Documentation ¶
Overview ¶
Package reload offers lightweight automatic reloading of running processes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Watch ¶
Do reload the current process when its binary changes.
The log function is used to display an informational startup message and errors. It works well with e.g. the standard log package or Logrus.
The error return will only return initialisation errors. Once initialized it will use the log function to print errors, rather than return.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.