From 1ea7aaec1db9bee7f2843179bb373cb3389f4cd8 Mon Sep 17 00:00:00 2001 From: Lorenzo Dei Negri Date: Thu, 23 Apr 2020 20:14:19 +0200 Subject: [PATCH] Update start.sh --- start.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 19ed22f..504526d 100644 --- a/start.sh +++ b/start.sh @@ -1,6 +1,10 @@ #!/bin/sh -npm install --production +if [ ! -d "node_modules/" ]; then + + npm install --production + +fi node main.js