From f0b9b2314537273d57a3043e461c0fb92ad7ca48 Mon Sep 17 00:00:00 2001 From: Matej Lubej Date: Tue, 14 May 2024 06:56:37 +0200 Subject: [PATCH] Add cap sync per platform on Ionic platform commands --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e13c4baeb1..71fa42ca13 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,8 @@ "extract-messages": "rm src/locales/en/translation.json && i18next-scanner --config=internals/extractMessages/i18next-scanner.config.js && node ./internals/scripts/normalize-translations.js ./src/locales/*/translation.json", "fix-grommet-icons-types": "node ./internals/scripts/fix-grommet-icons-types.js", "print-extension-dev-csp": "node ./internals/scripts/print-extension-dev-csp.js", - "android": "yarn build && yarn cap run android -l --external", - "ios": "yarn build && yarn cap run ios -l --external" + "android": "yarn build && yarn cap sync android && yarn cap run android -l --external", + "ios": "yarn build && yarn cap sync ios && yarn cap run ios -l --external" }, "browserslist": { "production": [