GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
some times we're loading files from multiple config files. (i.e, in morbo)
also some times it's desirable to use absolute paths.
I propose this:
reconf(conf1, conf2, conf3,...) // call with list of configurations, earlier options override later options
each will be loaded:
if it's a relative path file, recursively search for it.
if it's an absolute path just load it
if it's an object just use it...
what do you think?