Documentation
¶
Overview ¶
Package reloader is designed to be embedded into a hot reloadable executable.
This package watches a set of source code files and attempts to hot-reload changes to those files.
Index ¶
Constants ¶
View Source
const ( PackageListEnv = "GOT_RELOAD_PKGS" StartReloaderEnv = "GOT_RELOAD_START_RELOADER" )
Variables ¶
View Source
var ( // WatchedPkgs is the list of packages being watched for live reloading. // It is populated at init time from the process environment. WatchedPkgs = watchPackages() // PkgsToDirs and DirsToPkgs provide convenient lookups between local // disk directories and go package names. PkgsToDirs, DirsToPkgs = watchDirs() )
Functions ¶
func StartWatching ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.