From 0500284036c1c8392f14edc514c994e8314d69fe Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Sat, 6 Apr 2024 18:49:44 -0500 Subject: [PATCH] updated app.js for pm2 --- src/app.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app.ts b/src/app.ts index c4bb74f..8d7bfb0 100644 --- a/src/app.ts +++ b/src/app.ts @@ -35,5 +35,6 @@ app.use(errorHandler); app.listen(Config.DEFAULT_APP_PORT, async () => { await connectToDatabase(); + process.send?.('ready'); console.log("Server is listening on port 3000..."); });