re-setup DNS when the dns config changes

This commit is contained in:
Girish Ramakrishnan
2017-02-01 14:34:57 -08:00
parent 178aa4794a
commit 5b0abb1b17

View File

@@ -155,6 +155,7 @@ function onConfigured(callback) {
gConfigState.configured = true;
platform.events.on(platform.EVENT_READY, onPlatformReady);
settings.events.on(settings.DNS_CONFIG_KEY, function () { refreshDNS(); });
async.series([
clients.addDefaultClients,