mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 17:15:31 +00:00
+Problems
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
|
||||||
|
|
||||||
"github.com/fsnotify/fsnotify"
|
"github.com/fsnotify/fsnotify"
|
||||||
)
|
)
|
||||||
@@ -99,7 +98,6 @@ func (fw *FileWatcher) Watch() error {
|
|||||||
}
|
}
|
||||||
log.Println("event:", event)
|
log.Println("event:", event)
|
||||||
if !event.Has(fsnotify.Chmod) {
|
if !event.Has(fsnotify.Chmod) {
|
||||||
time.Sleep(50 * time.Millisecond)
|
|
||||||
fw.mu.Lock()
|
fw.mu.Lock()
|
||||||
for _, wf := range fw.wf {
|
for _, wf := range fw.wf {
|
||||||
wf(event.Name)
|
wf(event.Name)
|
||||||
|
|||||||
@@ -83,3 +83,4 @@
|
|||||||
- Horizontale Jahresnavigation durch vertikale ersetzen, so wie in der Einzelansicht
|
- Horizontale Jahresnavigation durch vertikale ersetzen, so wie in der Einzelansicht
|
||||||
- Was ist "Link auf seite teilen"?
|
- Was ist "Link auf seite teilen"?
|
||||||
- Bevorzugtes Datumsformat
|
- Bevorzugtes Datumsformat
|
||||||
|
- Zitierweise, Logo
|
||||||
|
|||||||
Reference in New Issue
Block a user