I recently had to redo my development setup, I'm using Clojure and clojure-lsp as lsp server, and every time I open a project file I get the message `"x" file is not part of any project" and gives me the option to import the project root (i), import interactively (I), etc. I always choose the first, but right after that I get this pop up message:
When choosing Retry it just keeps coming up and it only goes away when I choose "Ignore" but then the lsp server seems to never start. I get a message saying
LSP :: clojure-lsp:23852 initialized successfully in folders: ... but I don't get any of the lsp-server/mode functionality.
Ocasionally I've seen this message appear:
Error while reading file system events: Resource temporarily unavailable this seems to happen when I execute
lsp-workspace-restart, although it's not consistent, sometimes it shows and sometimes it doesn't.
This keeps happening every time I restart emacs and open a file from the same project, seems like the project is never imported by lsp?