mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
11 lines
468 B
JavaScript
11 lines
468 B
JavaScript
process.on('uncaughtException', function (exception) {
|
|
console.error(exception);
|
|
// don't crash for now
|
|
});
|
|
|
|
require('coffee-script') // remove intermediate compilation requirement
|
|
require('./src/server').listen(process.env.PORT || 3000);
|
|
|
|
// Note: removed "up" module, which is default for development (but interferes with and production + PaaS)
|
|
// Restore to 5310bb0 if I want it back (see https://github.com/codeparty/derby/issues/165#issuecomment-10405693)
|