mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-29 09:15:33 +00:00
BUGFIX: race condition in engine; index page controller
This commit is contained in:
@@ -40,7 +40,7 @@ func New(fn func()) (*Watcher, error) {
|
||||
reloadTimer.Stop()
|
||||
}
|
||||
reloadTimer = time.AfterFunc(WATCHER_DEBOUNCE, func() {
|
||||
slog.Debug("Changes detected, reloading templates...")
|
||||
slog.Debug("Changes detected...")
|
||||
fn()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user