From 3e37e933b2ab6d8c11dafba45eacd4bbb300d3bd Mon Sep 17 00:00:00 2001 From: allburov Date: Mon, 3 Oct 2022 11:48:02 +0700 Subject: [PATCH] Add start:prod-exit to exit on any fails --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 1af7b62b..e16e1231 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "start:dev": "nest start --watch", "start:debug": "nest start --debug --watch", "start:prod": "node --unhandled-rejections=none dist/main", + "start:prod-exit": "node dist/main", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "test": "jest", "test:watch": "jest --watch",