2013-01-18 18:12:29 +00:00
|
|
|
process.on('uncaughtException', function (exception) {
|
|
|
|
|
console.error(exception);
|
|
|
|
|
// don't crash for now
|
|
|
|
|
});
|
|
|
|
|
|
2013-01-17 04:54:21 +00:00
|
|
|
require('coffee-script') // remove intermediate compilation requirement
|
2013-01-17 20:43:03 +00:00
|
|
|
require('./src/server').listen(process.env.PORT || 3000);
|
2013-01-14 22:56:42 +00:00
|
|
|
|
2013-01-17 20:43:03 +00:00
|
|
|
// 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)
|