reload
reload copied to clipboard
[Feature Request] Recursive reload from a directory
Hi,
Wondering if reload can support recursive subdirectory from a directory.
https://github.com/Teamwork/reload/blob/ed43622194092571d65b220857b0ea5f814664ea/reload.go#L54-L55
Yeah, don't mind accepting patches for this. Maybe as a new ListDirs(path string, cb func()) []Dir
function which scans a directory. You can then do reload.Do(log.Print, cb, reload.ListDirs("./tpl", reloadTpl)...)
.