Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implement reloading of configuration on file change #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

liveforeverx
Copy link
Member

Setting of config.watch will start an listener, which will subscribes to file changes on the directory, where config is placed, and reload configuration, if config is changed.

@liveforeverx liveforeverx force-pushed the live_reload_config branch 3 times, most recently from b1b3495 to ddcff87 Compare November 11, 2015 11:48
add configuration option `config.watch`, if setted to true,
it will automaticly reload the configuration on changes
It is added, for the case, that `ReleaseManager.Reload.run` can
reload configuration outside of release (for example in development
shell).

Aims to test the live reconfiguration of the application. With
combination of setting `watch` to true, it is possible to test
continius changing enviroments.

add in README the 5-liner code for testing the conform-generated
configuration in dev enviroment
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant