Disable oclif's ts-node registering when running against built code

Change-type: patch
This commit is contained in:
Pagan Gazzard 2020-05-04 15:08:24 +01:00
parent 01147c31a4
commit dd20a8b00f

View File

@ -4,6 +4,9 @@
// operations otherwise, if the pool runs out.
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
require('fast-boot2').start({
cacheFile: __dirname + '/.fast-boot.json'