Skip to content

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

Closed

Description

@ericdallo

@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.

Activity

  1. angelozerr commented on Feb 6, 2025

    @angelozerr
    Contributor

    Override LSPClientFeatures#keepServerAlive()

  2. ericdallo commented on Feb 7, 2025

    @ericdallo
    ContributorAuthor

    That did the trick, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions