mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-03 22:34:22 +00:00
Micro optimisation
This commit is contained in:
parent
69c608c70f
commit
8a61dbeee0
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue