Skip to content

Commit

Permalink
chore(copy.props): ensure src/generated folder is not processed (#9537)
Browse files Browse the repository at this point in the history
Ignore the "src/generated" folder, in order to avoid issue on Windows, where this chokidar process's memory consumption grows drastically.

Related to #8824
  • Loading branch information
dimovpetar authored Jul 22, 2024
1 parent 59f88ad commit db2ccba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tools/components-package/nps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"`,
Expand Down

0 comments on commit db2ccba

Please sign in to comment.