From 1d61f8f8f66d7b0fff62bb1479db301b7b89006e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 1 May 2026 20:19:29 +0530 Subject: [PATCH] Fix incorrect conf reload watcher invocation when using --config=NONE --- kitty/boss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/boss.py b/kitty/boss.py index 9c18f1621..991ca92b4 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -1395,7 +1395,7 @@ def start(self, first_os_window_id: int, startup_sessions: Iterable[Session]) -> from .update_check import run_update_check run_update_check(get_options().update_check_interval * 60 * 60) self.update_check_started = True - if opts.auto_reload_config >= 0 and not hasattr(self, 'config_reload_watcher_process'): + if opts.auto_reload_config >= 0 and not hasattr(self, 'config_reload_watcher_process') and opts.all_config_paths: self.config_reload_watcher_process = subprocess.Popen( [kitten_exe(), '__watch_conf__', str(os.getpid()), str(int(opts.auto_reload_config * 1000))] + list(opts.all_config_paths), stdin=subprocess.PIPE)