3c1d23bc by astaxie

#207

1 parent 95307a3d
Showing 1 changed file with 4 additions and 6 deletions
...@@ -71,12 +71,10 @@ func Run() { ...@@ -71,12 +71,10 @@ func Run() {
71 go GlobalSessions.GC() 71 go GlobalSessions.GC()
72 } 72 }
73 73
74 if AutoRender { 74 err := BuildTemplate(ViewsPath)
75 err := BuildTemplate(ViewsPath) 75 if err != nil {
76 if err != nil { 76 if RunMode == "dev" {
77 if RunMode == "dev" { 77 Warn(err)
78 Warn(err)
79 }
80 } 78 }
81 } 79 }
82 80
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!