From 9d1bf5714d63f44c66153f5dfbf6c14a8ac3dc9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 23 Jul 2019 21:38:38 -0400 Subject: [PATCH] add --reset-cache to stop metro-cache from growing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- scripts/build-desktop.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/build-desktop.sh b/scripts/build-desktop.sh index 46be089561..7227618f39 100755 --- a/scripts/build-desktop.sh +++ b/scripts/build-desktop.sh @@ -137,8 +137,13 @@ function buildClojureScript() { # from index.desktop.js create javascript bundle and resources folder echo "Generating $JS_BUNDLE_PATH and assets folder..." - react-native bundle --entry-file index.desktop.js --bundle-output "$JS_BUNDLE_PATH" \ - --dev false --platform desktop --assets-dest "$WORKFOLDER/assets" + react-native bundle \ + --reset-cache \ + --dev false \ + --entry-file index.desktop.js \ + --bundle-output "$JS_BUNDLE_PATH" \ + --assets-dest "$WORKFOLDER/assets" \ + --platform desktop echo -e "${GREEN}Generating done.${NC}" echo "" }