From 44aa0e6010725195849fee68d7654a75ffae2409 Mon Sep 17 00:00:00 2001 From: Gabriel Rosa Date: Thu, 10 Nov 2022 09:47:30 -0300 Subject: [PATCH] improved run prod command --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6b0c36b..313f84a 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "start": "nest start", "start:dev": "nest start --watch", "start:debug": "nest start --debug --watch", - "start:prod": "node dist/main", + "start:prod": "npm run build && node dist/main", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", "test": "jest", "test:watch": "jest --watch",