Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 487 Bytes
import { AppController } from "./modules/app/AppController";
process.on( 'uncaughtException', console.error );
process.on( 'SIGINT', () => { // e.g., Terminate execution with Ctrl + C
console.log( '\nAborted. Bye!' );
process.exit( 1 );
} );
( new AppController() )
.start( __dirname, process.cwd() )
.then( ( success: boolean ) => {
process.exit( success ? 0 : 1 );
} )
.catch( ( err ) => {
console.error( err );
process.exit( 1 );
} );
You can’t perform that action at this time.