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

How to access browserSync instance from a plugin? #41

@ertrzyiks

Description

@ertrzyiks

Hey, is there any way to access browserSync instance created on connection?

var browserSync = new BrowserSync(options);

I would like to create a plugin which modifies ghost mode. So far I managed to do what I wanted, but only as a fork. I'm wondering if I can apply the same by a bs plugin, but I need to access that browserSync variable. Any ideas? I can help with implementation if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions