Commit 3c1d23bc authored by astaxie's avatar astaxie

#207

parent 95307a3d
......@@ -71,12 +71,10 @@ func Run() {
go GlobalSessions.GC()
}
if AutoRender {
err := BuildTemplate(ViewsPath)
if err != nil {
if RunMode == "dev" {
Warn(err)
}
err := BuildTemplate(ViewsPath)
if err != nil {
if RunMode == "dev" {
Warn(err)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment