Hi, I m looking for a package which would call a producer when a fs event is emitted.
Doing so i could reload templates everytime they changed without restarting the app. I ve found this package https://github.com/gernest/hot But, its totally built to render templates, where as i know i ll add other kind of resources to watch & reload. Also, i m a bit skeptic because it re-assigns a *template.Template pointer from a go func, and consume it from another routine. See https://github.com/gernest/hot/blob/master/hot.go#L88 https://github.com/gernest/hot/blob/master/hot.go#L104 https://github.com/gernest/hot/blob/master/hot.go#L162 Is it safe to do so ??? thanks! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
