move the core logic of run core to child process, and rerun run child process in daemon process when uncaught error makes process terminated.

This commit is contained in:
geekgeekrun
2024-03-16 01:52:26 +08:00
parent 44aa73e18c
commit f0e7eadfbc
5 changed files with 108 additions and 28 deletions

View File

@@ -6,7 +6,7 @@
"module": "./main/index.mjs",
"type": "module",
"scripts": {
"start": "node ./packages/run-core-of-geek-auto-start-chat-with-boss/index.mjs"
"start": "node ./packages/run-core-of-geek-auto-start-chat-with-boss/daemon-main.mjs"
},
"author": "geekgeekrun",
"license": "ISC",