config: allow reloading after config errors detected

This commit adjusts the config loading code so that we can return
information about the paths the should be watched for a subsequent
reload even in the more common error cases.

refs: #1174
This commit is contained in:
Wez Furlong committed 2022-06-29 14:34:28 -07:00
1 parent e6efec8298
commit eb50c68228
4 files changed
+128 -92

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ As features stabilize some brief notes about them will accumulate here.
* `wezterm connect sshdomain` could hang on startup if password authentication was required [#2194](https://github.com/wez/wezterm/issues/2194)
* `colors.indexed` would error out with `Cannot convert String to u8`. [#2197](https://github.com/wez/wezterm/issues/2197)
* X11: closing a window when multiple were open could result in an X protocol error that closed all windows [#2198](https://github.com/wez/wezterm/issues/2198)
* Config will now automatically reload after error. Previously, you would need to manually reload the config using [ReloadConfiguration](config/lua/keyassignment/ReloadConfiguration.md). [#1174](https://github.com/wez/wezterm/issues/1174)
### 20220624-141144-bd1b7c5d