Skip to content

collection is appended at each change #11

@oupala

Description

@oupala

I have a strange behaviour here while replacing watch and serve plugins by browsersync plugin.

I have a collection of documents which are lister on the front page.

When I run metalsmith-broswersync, each time a change is detected and the updated website a reloaded, the whole collection of documents is appended to itself and then I can find each document in double. When I modify a document one more time, the whole collection of documents is appended to itself one again, and each document is now present three times. And this goes again and again each I change a file.

Do you know if this is a desired behaviour, or a bug? Is there any workaround for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions