Skip to content

Commit

Permalink
fix: limit parallelization of build to avoid OOM error during 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenmacdonald committed Dec 16, 2024
1 parent 6946d67 commit f67d1f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
"scripts": {
"build": "gatsby build --prefix-paths && npm run build-themes && playroom build",
"clean": "gatsby clean",
"develop": "npm run build-themes && gatsby develop",
"develop#note": "echo The GATSBY_CPU_COUNT limits the resources used to avoid an out of memory error on systems with more than 4 CPU cores",
"develop": "npm run build-themes && GATSBY_CPU_COUNT=4 gatsby develop",
"develop:with-theme": "npm run develop",
"lint": "eslint --ext .js --ext .jsx --ext .ts --ext .tsx .",
"start": "npm run develop",
Expand Down

0 comments on commit f67d1f7

Please sign in to comment.