mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-25 08:21:04 +00:00
2ba53649bd
Change-type: minor Signed-off-by: Shaun Mulligan <shaun@balena.io>
20 lines
773 B
JavaScript
Executable File
20 lines
773 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
// ****************************************************************************
|
|
// THIS IS FOR DEV PERROSES ONLY AND WILL NOT BE PART OF THE PUBLISHED PACKAGE
|
|
// Before opening a PR you should build and test your changes using bin/balena
|
|
// ****************************************************************************
|
|
|
|
// We boost the threadpool size as ext2fs can deadlock with some
|
|
// operations otherwise, if the pool runs out.
|
|
process.env.UV_THREADPOOL_SIZE = '64';
|
|
|
|
// Use fast-boot to cache require lookups, speeding up startup
|
|
require('fast-boot2').start({
|
|
cacheFile: '.fast-boot.json'
|
|
})
|
|
process.env['TS_NODE_PROJECT'] = require('path').dirname(__dirname);
|
|
require('coffeescript/register');
|
|
require('ts-node/register');
|
|
require('../lib/app');
|