Skip to content
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

[CORE] Setup watcher on config file #132

Open
pedromotita opened this issue Aug 3, 2023 · 0 comments
Open

[CORE] Setup watcher on config file #132

pedromotita opened this issue Aug 3, 2023 · 0 comments
Labels
core core and sdk related issues enhancement New feature or request

Comments

@pedromotita
Copy link

➕ Enhancement Request

Problem related to enhancement request

As of today our viper setup is not watching changes on the configuration file. This means that we have to run viper.ReadInConfig() to update viper whenever we update the config file (i.e: config.Set and config.Delete())

Sought-for solution

Setup a watcher on our config file so config changes are automatically handled by viper

Additional context

There has been an failed attempt to implement a watcher. This comment contains the findings and conclusion

@pedromotita pedromotita added enhancement New feature or request core core and sdk related issues labels Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core core and sdk related issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant