azu / rc-config-loader

Load config from .{product}rc.{json,yml,js} file
MIT License
60 stars 6 forks source link

Prevent the configuration file from being loaded twice #4

Closed feego closed 5 years ago

feego commented 5 years ago

From what I understood, the findConfig method is currently running the configuration loader twice, if a single loader is used per extension. This can be a problem when the loaded config file has side-effects that shouldn't run more than once.

azu commented 5 years ago

Thanks!

azu commented 5 years ago

Release https://github.com/azu/rc-config-loader/releases/tag/2.0.3