Skip to content

alias: unix socket repl for local dev #86

Description

@practicalli-johnny

using JDK 16 or newer, or you add a junixsocket dependency, you can ask it to listen on a UNIX domain (filesystem) socket instead:

{ ;; ... :aliases {:nREPL {:extra-deps ;; UNIX domain socket support was added in 1.0.0 {nrepl/nrepl {:mvn/version "1.3.0"} com.kohlschutter.junixsocket/junixsocket-core {:mvn/version "2.3.2"}}}} } 
$ mkdir -m go-rwx nrepl-test $ clj -M:nREPL -m nrepl.cmdline --socket nrepl-test/socket 

UNIX domain sockets only run locally and skip additional checks required for network repl connections, so are faster and lighter on resources than TCP/IP sockets

Activity

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

Metadata

Metadata

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