mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-25 14:42:46 +00:00
Fix incorrect conf reload watcher invocation when using --config=NONE
This commit is contained in:
parent
a89b7099ad
commit
1d61f8f8f6
1 changed files with 1 additions and 1 deletions
|
|
@ -1395,7 +1395,7 @@ class Boss:
|
|||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue