adding when/monitor/console

This commit is contained in:
Tim Griesser 2013-10-07 09:28:53 -04:00
parent 00bf88472a
commit ccd7b211f2

View File

@ -20,6 +20,12 @@ var express = require('express'),
server = express(),
ghost = new Ghost();
// If we're in development mode, require "when/console/monitor"
// for help in seeing swallowed promise errors.
if (process.env.NODE_ENV === 'development') {
require('when/monitor/console');
}
// ##Custom Middleware
// ### Auth Middleware