Skip to content

Instantly share code, notes, and snippets.

@AndrienkoAleksandr
Last active November 20, 2018 10:24
Show Gist options
  • Save AndrienkoAleksandr/96b41588e48bb19c8f36ae986d162493 to your computer and use it in GitHub Desktop.
Save AndrienkoAleksandr/96b41588e48bb19c8f36ae986d162493 to your computer and use it in GitHub Desktop.
‘yarn’ command to build Theia uses lerna.js:
https://github.com/theia-ide/theia/blob/master/scripts/lerna.js
By default lerna uses 4 threads. But You could modify this script to use less threads. Simply Change:
```
require(lernaPath);
```
To:
```
process.argv.push('--concurrency=1');
require(lernaPath);
```
Where is 1 it is a one thread.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment