From a1770c2f41399a8dc7d4c134192060a7c4e859d9 Mon Sep 17 00:00:00 2001 From: Oliver Boehlk Date: Sat, 18 Apr 2020 01:14:47 +0200 Subject: [PATCH] remove frontendfolder before rebuild --- update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update.sh b/update.sh index bfe83c1..01ac4d7 100755 --- a/update.sh +++ b/update.sh @@ -2,6 +2,7 @@ BACKENDID = netstat -tulpn 2>/dev/null | grep ":3001 " | awk '{print $7;}' | cut kill -9 $BACKENDID git pull cd backend +rm -r ./frontend mkdir frontend npm i cd ../frontend