Blown away how much sense using Unix domain sockets for nREPL makes.
We already use .nrepl-port files, right? But instead of using that file directly, we write a number inside and then go to a completely different place to connect.
Well, with Unix domain socket you CAN use that file directly!
Plus:
- No need for port randomization!
- Meaningful names!
- File auto-deletes when your process dies
That's so obvious in retrospect! And yet we all missed it.
Inspired by @mkvlr
@nikitonsky @mkvlr So why isn't it a thing then? 🤔 For cross-platform reasons...?