mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-02 17:20:52 +00:00
Merge pull request #1804 from balena-io/disable-oclif-ts-node
Disable oclif's ts-node registering when running against built code
This commit is contained in:
commit
d9b044c1b8
@ -4,6 +4,9 @@
|
|||||||
// operations otherwise, if the pool runs out.
|
// operations otherwise, if the pool runs out.
|
||||||
process.env.UV_THREADPOOL_SIZE = '64';
|
process.env.UV_THREADPOOL_SIZE = '64';
|
||||||
|
|
||||||
|
// Disable oclif registering ts-node
|
||||||
|
process.env.OCLIF_TS_NODE = 0;
|
||||||
|
|
||||||
// Use fast-boot to cache require lookups, speeding up startup
|
// Use fast-boot to cache require lookups, speeding up startup
|
||||||
require('fast-boot2').start({
|
require('fast-boot2').start({
|
||||||
cacheFile: __dirname + '/.fast-boot.json'
|
cacheFile: __dirname + '/.fast-boot.json'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user