diff --git a/Sources/LanguageServerProtocol/Server.swift b/Sources/LanguageServerProtocol/Server.swift index a81c2db..72b7e01 100644 --- a/Sources/LanguageServerProtocol/Server.swift +++ b/Sources/LanguageServerProtocol/Server.swift @@ -95,6 +95,10 @@ public extension Server { sendNotification(.didSaveTextDocument(params), completionHandler: block) } + func didChangeWatchedFiles(params: DidChangeWatchedFilesParams, block: @escaping (ServerError?) -> Void) { + sendNotification(.didChangeWatchedFiles(params), completionHandler: block) + } + func completion(params: CompletionParams, block: @escaping (ServerResult) -> Void) { sendRequest(.completion(params), completionHandler: block) }