You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 'SIGINT' from the terminal is supported on all platforms, and can usually be generated with <Ctrl>+C (though this may be configurable). It is not * generated when terminal raw mode is enabled.
* **/
process.on('SIGINT', () => {
App.destructServer();
logger.warn('SIGINT', () => {
process.exit(0);
});
});
process.on('warning', warning => {
logger.log(warning, () => {
process.exit(0);
});
});
App.startServer();
App.listen(Environment.app.port, () => {
webRoutes(App);
console.log('%s listening at %s', App.name, App.url);