From 59f88ad3255184bc4ac7b477b68c2837958956bb Mon Sep 17 00:00:00 2001 From: Petar Dimov <32839090+dimovpetar@users.noreply.github.com> Date: Mon, 22 Jul 2024 18:10:52 +0300 Subject: [PATCH] chore(watch.templates): ignore src/generated (#9536) 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 9288bc767c80..c862fbd01ca4 100644 --- a/packages/tools/components-package/nps.js +++ b/packages/tools/components-package/nps.js @@ -117,7 +117,7 @@ const getScripts = (options) => { themes: 'nps "build.styles.themes -w"', components: `nps "build.styles.components -w"`, }, - templates: 'chokidar "src/**/*.hbs" -c "nps build.templates"', + templates: 'chokidar "src/**/*.hbs" -i "src/generated" -c "nps build.templates"', i18n: 'chokidar "src/i18n/messagebundle.properties" -c "nps build.i18n.defaultsjs"' }, start: "nps prepare watch.devServer",