I'm writing a language server protocol extension for a custom language for VS Code. I'm writing the server part in C# using OmniSharp Language Server API.
I'm having trouble implementing DidChangeWatchedFile functionality. Even if I implement the IDidChangeWatchedFilesHandler interface the notification is not sent from the client or the server.
According to the specification there ought to be a DidChangeWatchedFilesRegistrationOptions interface where one could register for custom file events but I can't find this interface anywhere in OmniSharp. I want to be able to react to situations where a specific file is changed/added/deleted in the workspace and the file is not opened in the editor (thus not handled by DidChangeTextDocument handler).
Any tip/suggestion would be more than welcomed.
Thank you!