Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server is shutdown if no file is opened but project is still opened #809

Closed
ericdallo opened this issue Feb 6, 2025 · 2 comments
Closed

Comments

@ericdallo
Copy link
Contributor

@angelozerr I noticed that if you close any open clojure files, after some seconds it's sent a shutdown request to server even the clojure project is still opened.

I think for clojure-lsp this is bad as clojure-lsp startup usually take 10-30s, depending on the project size, and we don't need to close the connection just because user closed a recent opened file and is navigating the file tree searching for other file.

@angelozerr
Copy link
Contributor

Override LSPClientFeatures#keepServerAlive()

@ericdallo
Copy link
Contributor Author

That did the trick, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants