From c9c74a5f65f2730138962723ad379bddcdea42dd Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Tue, 13 Aug 2019 09:51:20 -0400 Subject: [PATCH] fix: use rsync instead of cp to skip node_modules --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1804509..32a5953 100644 --- a/Makefile +++ b/Makefile @@ -87,7 +87,7 @@ ifeq ($(NODE_ENV),localhost) fi \ fi \ fi - cp -r back-end/* full-build/ + rsync -r --exclude node_modules ./back-end/* ./full-build/ endif copy-frontend: ##@copy Copy over the frontend files to full-build dir