sails-util-mvcsloader
sails-util-mvcsloader copied to clipboard
Load the models, controllers, services from your Sails hooks into the main app
Adding /helpers and tests and generally checking it works. Are you interested in maintaining this module? I find it useful!
When lifting my app some messages like "User hook models loaded from ..." are being shown which interfere with the sails messages.
It seems like `sails.util` has been removed in Sails v1, so the following lines in libs/models.js no longer work: ``` var finalModels = sails.util.merge(models, supplements); sails.hooks.orm.models = sails.util.merge(finalModels || {},...
Oops, this fixes #4 ... my bad :)
Right now any environment-specific config under `./config/env` is not being loaded. There's a few additional things that sails will attempt to load - including local.js, env/{env}/*.js, and env/{env}.js -- this...