1
0
mirror of https://github.com/beego/bee.git synced 2024-11-21 23:50:54 +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)
}
// Start the Reload server (if enabled)
if conf.EnableReload {
startReloadServer()
}
for {
select {
case <-exit: