From 3d1ef155bf9846f39725bf22c54666da2bc42330 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sun, 26 Apr 2026 02:07:33 +0300 Subject: feat: add live config reload --- src/app/api.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/app/api.rs') diff --git a/src/app/api.rs b/src/app/api.rs index 364097dc..d7893d6d 100644 --- a/src/app/api.rs +++ b/src/app/api.rs @@ -282,6 +282,16 @@ impl App { result: ResponseResult::Ok {}, } } + Method::ServerReloadConfig(_) => { + let report = self.reload_config(); + SuccessResponse { + id: request.id, + result: ResponseResult::ConfigReload { + status: report.status, + diagnostics: report.diagnostics, + }, + } + } Method::WorkspaceList(_) => SuccessResponse { id: request.id, result: ResponseResult::WorkspaceList { -- cgit v1.2.3