Skip to content

Instantly share code, notes, and snippets.

@shakyShane
Created October 10, 2014 17:26
Show Gist options
  • Save shakyShane/e1be945e9ff8b6280cb2 to your computer and use it in GitHub Desktop.
Save shakyShane/e1be945e9ff8b6280cb2 to your computer and use it in GitHub Desktop.
var browserSync = require("browser-sync");
browserSync.emitter.on("service:running", function (data) {
console.log(data); // this object will have tunnel info
});
browserSync({
server: "./app",
tunnel: true
});
@micahlisonbee
Copy link

Awesome! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment