diff --git a/packages/browser-sync-ui/lib/async.js b/packages/browser-sync-ui/lib/async.js index c55c79cc..24a19858 100644 --- a/packages/browser-sync-ui/lib/async.js +++ b/packages/browser-sync-ui/lib/async.js @@ -69,7 +69,7 @@ module.exports = { }; if (bsUrls.external) { - var externalListen = listenHost || url.parse(bsUrls.external).hostname; + var externalListen = url.parse(bsUrls.external).hostname || listenHost; urls["ui-external"] = ["http://", externalListen, ":", port].join(""); }