From 943ca48aba10c27e7b9fd481913234874326c24d Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Thu, 28 Dec 2023 19:29:04 -0500 Subject: [PATCH] Clean up --- listener.ts | 2 +- unix.ts | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 unix.ts diff --git a/listener.ts b/listener.ts index 418dd04..50a9a2d 100644 --- a/listener.ts +++ b/listener.ts @@ -9,7 +9,7 @@ export async function listen () { const repl_file = Bun.file(repl_file_path) 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({ //hostname: "localhost", diff --git a/unix.ts b/unix.ts deleted file mode 100644 index c0d73e5..0000000 --- a/unix.ts +++ /dev/null @@ -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) } - } -})