diff --git a/services/request/src/server/index.ts b/services/request/src/server/index.ts index fd27716..92fdbf2 100644 --- a/services/request/src/server/index.ts +++ b/services/request/src/server/index.ts @@ -14,4 +14,4 @@ let app = new Application(appKey); /** * Start the application */ -app.exec(); +app.exec().then(process.exit); diff --git a/services/seeker/src/index.ts b/services/seeker/src/index.ts index 49185c5..4f0f3da 100644 --- a/services/seeker/src/index.ts +++ b/services/seeker/src/index.ts @@ -4,4 +4,4 @@ import Application from "./Application"; let app = new Application(); // Start the application -app.exec(); +app.exec().then(process.exit);