From db2ccba25b823aee8c7d8cdc10ab89c29b9ac520 Mon Sep 17 00:00:00 2001 From: Petar Dimov <32839090+dimovpetar@users.noreply.github.com> Date: Mon, 22 Jul 2024 18:17:16 +0300 Subject: [PATCH] chore(copy.props): ensure src/generated folder is not processed (#9537) Ignore the "src/generated" folder, in order to avoid issue on Windows, where this chokidar process's memory consumption grows drastically. Related to https://github.com/SAP/ui5-webcomponents/issues/8824 --- packages/tools/components-package/nps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tools/components-package/nps.js b/packages/tools/components-package/nps.js index c862fbd01ca4..6d08434521fb 100644 --- a/packages/tools/components-package/nps.js +++ b/packages/tools/components-package/nps.js @@ -103,7 +103,7 @@ const getScripts = (options) => { default: "nps copy.src copy.props", src: `node "${LIB}/copy-and-watch/index.js" --silent "src/**/*.{js,json}" dist/`, // srcGenerated2: `node "${LIB}/copy-and-watch/index.js" --silent "src/generated/**/*.{js,json}" dist/generated/`, - props: `node "${LIB}/copy-and-watch/index.js" --silent "src/**/*.properties" dist/`, + props: `node "${LIB}/copy-and-watch/index.js" --silent "src/i18n/*.properties" dist/`, }, watch: { default: `${tsCrossEnv} concurrently "nps watch.templates" "nps watch.typescript" "nps watch.src" "nps watch.styles" "nps watch.i18n" "nps watch.props"`,