Lsp java is not properly re-linting/compiling buffers
It seems like as I change Java code in a buffer, I don't get an up to date linting. I keep having to run lsp-workspace-restart for it to update, or I need to run the tests.
What is supposed to recompute this? Is it the file watchers? Should it happen as I type? Should it happen on save?
I think that it might be a potential regression from https://github.com/emacs-lsp/lsp-mode/pull/1419 . Do you have steps to reproduce? (preferably over hello world application).
Can you test https://github.com/yyoncho/lsp-mode/commit/7ce3ad597b4cbc8523d7c019b6e975a45354e4e3 ? I believe that the issue was that we do not flush delayed changes before sending notifications.
Hum, tried it a little, and it does seem to fix it. I'll try it some more and confirm.
I think I found the issue - I will revert part of aforementioned commit
https://github.com/yyoncho/lsp-mode/commit/97e5e4acc08b359610dc34f75ebbad0a6b37baf9 this one should fix the issue.