From 8fa4d134b2b40a31155bd78ef69fcef7aede7c44 Mon Sep 17 00:00:00 2001 From: Eddie Wang Date: Thu, 5 Dec 2019 14:22:07 -0500 Subject: [PATCH] add production flag --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f0749443..9e9f154e 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "client-prod": "yarn workspace siaviewnode-client build && yarn workspace siaviewnode-client start -p 3000", "server-prod": "yarn workspace siaviewnode-server build && yarn workspace siaviewnode-server start", "dev": "concurrently \"yarn client-dev\" \"yarn server-dev\"", - "start": "concurrently \"yarn client-prod\" \"yarn server-prod\"" + "start": "NODE_ENV=production concurrently \"yarn client-prod\" \"yarn server-prod\"" }, "workspaces": { "packages": [