|
@@ -38,7 +38,7 @@ func FSNotifyFUNC(name, dir string, flag bool, f func()) {
|
|
applyAction[fmt.Sprintf(name, ev.Name)] = now
|
|
applyAction[fmt.Sprintf(name, ev.Name)] = now
|
|
time.Sleep(1 * time.Second)
|
|
time.Sleep(1 * time.Second)
|
|
//更新应用版本号
|
|
//更新应用版本号
|
|
- go f()
|
|
|
|
|
|
+ f()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
case err := <-watch.Errors:
|
|
case err := <-watch.Errors:
|