mirror of
https://github.com/beego/bee.git
synced 2025-07-05 08:00:18 +00:00
Updated vendor
This commit is contained in:
@ -228,7 +228,7 @@ func startWatcher(paths []string, ch chan int) {
|
||||
|
||||
// Wait 1s before re-build until there is no file change
|
||||
scheduleTime := time.Now().Add(1 * time.Second)
|
||||
time.Sleep(scheduleTime.Sub(time.Now()))
|
||||
time.Sleep(time.Until(scheduleTime))
|
||||
_, err := buildDebug()
|
||||
if err != nil {
|
||||
utils.Notify("Build Failed: "+err.Error(), "bee")
|
||||
|
Reference in New Issue
Block a user