alias: unix socket repl for local dev
未关闭
@practicalli-johnny 已经在做这个了。
开始于 2024年8月29日。
评估
这个 Issue 还没有评估数据。
描述
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
- 主要语言
- edn
- 星标
- 560
- 派生
- 497
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
practicalli/clojure-cli-config 的其他 Issue
-
enhancement good first issue
难度 3/5 1-2 天 新手友好度 45/100