Skip to content

Commit

Permalink
chore(watch.templates): ignore src/generated (#9536)
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 16d7bef commit 59f88ad
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 @@ -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",
Expand Down

0 comments on commit 59f88ad

Please sign in to comment.