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

Add ability to reload config files #186

Merged
merged 1 commit into from
Jan 4, 2019
Merged

Add ability to reload config files #186

merged 1 commit into from
Jan 4, 2019

Conversation

j0k3r
Copy link
Owner

@j0k3r j0k3r commented Jan 3, 2019

The load is externalized into a dedicated public method so we can reload config files after a custom creation of a config file.

  • Config files are loaded when the class is instancied.
  • If we add a new file after, it won't be loaded.
  • We'll need to manually reload config files

It’s usefull when we provide an interface to allow the user to define a custom site config (to test some rules for example)

The load is externalized into a dedicated public method so we can reload config files after a custom creation of a config file.

    - Config files are loaded when the class is instancied.
    - If we add a new file after, it won't be loaded.
    - We'll need to manually reload config files

It’s usefull when we provide an interface to allow the user to define a custom site config (to test some rules for example)
@coveralls
Copy link

coveralls commented Jan 3, 2019

Coverage Status

Coverage decreased (-0.2%) to 98.47% when pulling 6e28b6a on reload-config-files into b3dfd7b on master.

@j0k3r j0k3r merged commit 5c9b33d into master Jan 4, 2019
@j0k3r j0k3r deleted the reload-config-files branch January 4, 2019 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants