Skip to content

Commit

Permalink
Fix tunnel issue (See BrowserSync#1370)
Browse files Browse the repository at this point in the history
  • Loading branch information
junedkazi committed Jan 15, 2018
1 parent fa7e791 commit 79814f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/internal-events.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ module.exports = function(bs) {
* @param data
*/
"file:reload": function(data) {
bs.io.sockets.emit("file:reload", data);
bs.io && bs.io.sockets.emit("file:reload", data);
},
/**
* Browser Reloads
*/
"browser:reload": function() {
bs.io.sockets.emit("browser:reload");
bs.io && bs.io.sockets.emit("browser:reload");
},
/**
* Browser Notify
* @param data
*/
"browser:notify": function(data) {
bs.io.sockets.emit("browser:notify", data);
bs.io && bs.io.sockets.emit("browser:notify", data);
},
/**
* Things that happened after the service is running
Expand Down

0 comments on commit 79814f2

Please sign in to comment.