Skip to content

Commit dec919c

Browse files
committed
Add test log
1 parent c4dd319 commit dec919c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/watcher/file/file_watcher_service.go

Lines changed: 2 additions & 1 deletion
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"
@@ -154,7 +155,7 @@ func (fws *FileWatcherService) removeWatchers(ctx context.Context) {
154155
}
155156

156157
func (fws *FileWatcherService) handleEvent(ctx context.Context, event fsnotify.Event) {
157-
slog.ErrorContext(ctx, "handleEvent", "event", event)
158+
fmt.Println(event)
158159
if fws.enabled.Load() {
159160
if fws.isEventSkippable(event) {
160161
return

0 commit comments

Comments
 (0)