This commit is contained in:
Scott Richmond 2023-12-28 19:29:04 -05:00
parent 248eabc462
commit 943ca48aba
2 changed files with 1 additions and 8 deletions

View File

@ -9,7 +9,7 @@ export async function listen () {
const repl_file = Bun.file(repl_file_path) const repl_file = Bun.file(repl_file_path)
await Bun.write(repl_file, JSON.stringify(repl_info)) await Bun.write(repl_file, JSON.stringify(repl_info))
console.log(`Ludus REPL listening on ${unix_socket}`) console.log(`Ludus REPL listening on unix://${unix_socket}`)
Bun.listen({ Bun.listen({
//hostname: "localhost", //hostname: "localhost",

View File

@ -1,7 +0,0 @@
Bun.listen({
unix: "/tmp/test.sock",
socket: {
open: (_) => console.log("Somebody opened my socket."),
data: (_, d) => { console.log("I got data!", d) }
}
})