all repos — searchix @ 5624cf8f6427064dd17de40acd1d3fdfe8332e96

Search engine for NixOS, nix-darwin, home-manager and NUR users

build: remove duplicate debug log on dev file watcher update
Alan Pearce alan@alanpearce.eu
Wed, 15 May 2024 11:29:42 +0200
commit

5624cf8f6427064dd17de40acd1d3fdfe8332e96

parent

91836fef16532b72d9fd3edbcbe3844d9c541345

1 files changed, 0 insertions(+), 1 deletions(-)

jump to
M internal/server/dev.gointernal/server/dev.go
@@ -48,7 +48,6 @@ func (watcher FileWatcher) Start(callback func(string)) { 	for {
 		select {
 		case event := <-watcher.Events:
-			slog.Debug(fmt.Sprintf("event received: %s", event))
 			if event.Has(fsnotify.Create) || event.Has(fsnotify.Rename) {
 				f, err := os.Stat(event.Name)
 				if err != nil {