Socket
Socket
Sign inDemoInstall

browser-sync-connect

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    browser-sync-connect

connect to browser sync without copying the script snippets to the html source


Version published
Maintainers
1
Install size
3.84 kB
Created

Readme

Source

browser-sync-connect

easy way to connect to browser sync without copy and paste the socket.io snippet.

just one line to add the browser-sync script snippts dynamicly:

browserSyncConnect();

regularly i use gulp and gulp connect to run a testserver on port 9000 on my machine and do:

if (window.location.port !== '80' && window.location.port !== '') {
        browserSyncConnect();
}

so the live version will not be browser-synced.

Keywords

FAQs

Last updated on 01 Sep 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc