Back to Wezterm

wezterm.add_to_config_reload_watch_list

docs/config/lua/wezterm/add_to_config_reload_watch_list.md

latest462 B
Original Source

wezterm.add_to_config_reload_watch_list(path)

{{since('20210814-124438-54e29167')}}

Adds path to the list of files that are watched for config changes. If automatically_reload_config is enabled, then the config will be reloaded when any of the files that have been added to the watch list have changed.

{{since('20220807-113146-c2fee766')}}

This function is now called implicitly when you require a lua file.