2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

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