New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading files in wrong order #109
Comments
Did you solve this issue? I have a similar problem, but from what I can see when I util.inspect(nconf) it seems nconf cannot use two file stores like this, and the 2nd simply replaces the first entirely. Ie, its equivalent to just calling
|
I ended up just taking out the second config file and moving those values On Sun, Mar 2, 2014 at 3:30 PM, carpii notifications@github.com wrote:
|
Ok thankyou, I will use that idea |
- Update the Readme with notes that when using multiple config files, the user must use a custom key as the first parameter in additional nconf.file() calls in order for config heirarchy/inheritance to work properly. Fixes indexzero#97, Fixes indexzero#109, Fixes indexzero#110
When loading multiple config files like this:
argv
andenv
get loaded properly before the config files but then config2 is overriding config1, even though the documentation suggests that it does the oppositeThe text was updated successfully, but these errors were encountered: