cliffano/ute — Issue #1: Expose internal app
Author: naholyr
Created: 2011-12-31 11:52:50+00:00
State: open

Hello, there will always be a need for specific configuration and tweaking. The easy way is to expose generated app to the user. I see two methods:

* make `run()` return `{app:app, express:express}`
* add a callback parameter `run(cb)` and call it at the end `cb(app, express)`

The latter one is the best imho as you will be able to handle it properly even if you need async work in the future.