I had a similar problem, and indeed, Sails should load services, controllers, etc.
There were some debugging tools that helped in raising Sails:
Sails.lift({
log: {
level: 'verbose'
},
appPath: '../',
// explicitly load almost everything but policies
//loadHooks: ['moduleloader', 'userconfig', 'orm', 'http', 'controllers', 'services', 'request', 'responses', 'blueprints']
}
I also did a live debugging of Mocha (although I will not go into some steps about this).
- verbose ( silly, verbose ) , - . appPath "../", , , voila, sails.services.myService!
, !