@theglitchking/semantic-pages 0.6.3 → 0.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4604,6 +4604,10 @@ async function createServer(notesPath, options = {}) {
4604
4604
  async function startServer(notesPath, options = {}) {
4605
4605
  const server = await createServer(notesPath, options);
4606
4606
  const transport = new StdioServerTransport();
4607
+ process.stdin.once("end", () => process.exit(0));
4608
+ process.stdin.once("close", () => process.exit(0));
4609
+ process.once("SIGTERM", () => process.exit(0));
4610
+ process.once("SIGHUP", () => process.exit(0));
4607
4611
  await server.connect(transport);
4608
4612
  }
4609
4613
  export {