Skip to content

Commit

Permalink
Don't fake snippet mode when fetching external socket connector if
Browse files Browse the repository at this point in the history
running mode is proxy. re: #625
  • Loading branch information
shakyShane committed Jul 27, 2015
1 parent 40017b4 commit 29dfd0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/browser-sync.js
Expand Up @@ -468,7 +468,9 @@ BrowserSync.prototype.getExternalSocketConnector = function (opts) {
return connectUtils.socketConnector(
bs.options.withMutations(function (item) {
item.set("socket", item.get("socket").merge(opts));
item.set("mode", "snippet");
if (bs.options.get("mode") !== "proxy") {
item.set("mode", "snippet");
}
})
);
};
Expand Down

0 comments on commit 29dfd0a

Please sign in to comment.