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

Live reload for power users #69

Closed
rednaxus opened this issue Jan 28, 2013 · 1 comment
Closed

Live reload for power users #69

rednaxus opened this issue Jan 28, 2013 · 1 comment

Comments

@rednaxus
Copy link

Hey...

I've found a lot of cases when i'd like to be able to set up a live reload of config options, without restarting the instance, e.g.
nconf.onChange ->
do stuff

or even fancier:
nconf.onChange (changeset?)->
do stuff

this might be a handy feature as part of the core functionality...

@mmalecki
Copy link
Contributor

Watching for config file changes is a bad idea due to number of reasons (sometimes you change a config but want to apply it during next restart).
See @bmeck's flatiron-http-config for a good solution to that problem.

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

No branches or pull requests

2 participants