Skip to content

Can't jack in to more than one bb projects #3293

@ikappaki

Description

@ikappaki

Expected behavior

Should be able to jack in to more than one bb projects

Actual behavior

You can run the command ‘cider-jack-in-clj’ with C-c M-j
error in process sentinel: Could not start nREPL server: Exception in thread "main" java.net.BindException: Address already in use (Bind failed)

Steps to reproduce the problem

  1. Create two bb.edn files with {} contents in separate new directories
  2. Jack in to the first directory, a bb session is established.
  3. Try to jack in to the second directory, the above error is thrown.

This is because the bb nREPL server is always start up on the same port at 1667.

Environment & Version information

any

PR to follow.

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