Skip to content
This repository has been archived by the owner on Oct 13, 2018. It is now read-only.

Allow to access browserSync instance from a plugin #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ertrzyiks
Copy link

A proposition to address #41

It exposes a use(cb) method which allows to create more sofisticated extensions for browser-sync-client.

var myPlugin = function (browserSync) {
    // Do some magic here
}

window.__browserSync__.use(myPlugin)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant