Skip to content

Commit 29b1bed

Browse files
committed
Add debug logs to test
1 parent aadec44 commit 29b1bed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/watcher/file/file_watcher_service.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ package file
88
import (
99
"context"
1010
"errors"
11+
"fmt"
1112
"log/slog"
1213
"os"
1314
"path/filepath"
@@ -163,6 +164,8 @@ func (fws *FileWatcherService) removeWatchers(ctx context.Context, directoriesTo
163164
}
164165

165166
func (fws *FileWatcherService) handleEvent(ctx context.Context, event fsnotify.Event) {
167+
fmt.Printf("Processing FSNotify event %v \n", event)
168+
166169
if fws.enabled.Load() {
167170
if fws.isEventSkippable(event) {
168171
return

0 commit comments

Comments
 (0)