scottcorgan / Injector

Node.js directory-independent dependency injection for apps and testing.
36 stars 1 forks source link

Routes don't load for a server if the module is loaded last. #8

Closed scottcorgan closed 11 years ago

scottcorgan commented 11 years ago

Example would be routes in a folder that started with an "A" and the server was in a server named "server".

For some reason, the module doesn't get bootstrapped.

scottcorgan commented 11 years ago

Looks like we bootstrap the modules before all the modules have been required and executed.