1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 10:10:53 +00:00

Start the Reload server (if enabled)

This commit is contained in:
Faissal Elamraoui 2017-01-22 22:27:20 +01:00
parent 24eee99d5b
commit de62ae6043

5
run.go
View File

@ -145,6 +145,11 @@ func runApp(cmd *Command, args []string) int {
AutoBuild(files, false) AutoBuild(files, false)
} }
// Start the Reload server (if enabled)
if conf.EnableReload {
startReloadServer()
}
for { for {
select { select {
case <-exit: case <-exit: