]> zoso.dev Git - nano-pow.git/commit
Use SIGHUP to reload config except PORT which requires relaunching the server. Refact...
authorChris Duncan <chris@zoso.dev>
Mon, 14 Apr 2025 15:27:45 +0000 (08:27 -0700)
committerChris Duncan <chris@zoso.dev>
Mon, 14 Apr 2025 15:27:45 +0000 (08:27 -0700)
commitfcb42bc4d7a898768b4636520f169357a5c86ba3
tree83348110019565819949d3863d406300e4622a58
parentdd5f6c04c663b830aceb05301014efe1f9c28b45
Use SIGHUP to reload config except PORT which requires relaunching the server. Refactor CLI to spawn server as child process and get port from OS dynamically using IPC. Fix fast exit by handling SIGINT and SIGTERM ourselves.
docs/nano-pow.1
src/bin/cli.ts
src/bin/server.ts