From 8a61dbeee0d42360571eeaa907c5d42a48552b92 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 16 Apr 2026 15:03:44 +0530 Subject: [PATCH] Micro optimisation --- tools/watch/api.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/watch/api.go b/tools/watch/api.go index 613651536..463bcce5b 100644 --- a/tools/watch/api.go +++ b/tools/watch/api.go @@ -182,9 +182,10 @@ func EntryPoint(root *cli.Command) { if err != nil { return 1, err } + config_paths := utils.Map(resolve_path, args[2:]) if err = watch_for_kitty_config_changes( func() error { return signal_kitty_to_reload_config(kitty_pid) }, - time.Millisecond*time.Duration(debounce_time_ms), args[2:]); err != nil { + time.Millisecond*time.Duration(debounce_time_ms), config_paths); err != nil { return 1, err } return 0, nil