3c1d23bc by astaxie

#207

1 parent 95307a3d
Showing 1 changed file with 4 additions and 6 deletions
......@@ -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)
}
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!