mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-18 14:39:49 +02:00
fix reload stuck
This commit is contained in:
@@ -32,7 +32,7 @@ func setup() {
|
||||
return
|
||||
}
|
||||
|
||||
t := task.RootTask("error_page", true)
|
||||
t := task.RootTask("error_page", false)
|
||||
dirWatcher = W.NewDirectoryWatcher(t, errPagesBasePath)
|
||||
loadContent()
|
||||
go watchDir()
|
||||
|
||||
Reference in New Issue
Block a user