Read settings in headless mode (#10950)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-04-24 16:06:36 -06:00 committed by GitHub
parent b673494f4d
commit 64617a0ede
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,6 +138,13 @@ fn init_headless(dev_server_token: DevServerToken) {
languages::init(languages.clone(), node_runtime.clone(), cx);
let user_store = cx.new_model(|cx| UserStore::new(client.clone(), cx));
let user_settings_file_rx = watch_config_file(
&cx.background_executor(),
fs.clone(),
paths::SETTINGS.clone(),
);
handle_settings_file_changes(user_settings_file_rx, cx);
headless::init(
client.clone(),
headless::AppState {