Micro optimisation

This commit is contained in:
Kovid Goyal 2026-04-16 15:03:44 +05:30
parent 69c608c70f
commit 8a61dbeee0
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -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