#207
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 | ... | ... |
-
Please register or sign in to post a comment