Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

File changes sometimes cause double reloads #74

Closed
@bmuenzenmeyer

Description

@bmuenzenmeyer

I am using Pattern Lab Node- Gulp Edition v1.3.0 on Windows.

Expected Behavior
  • when I save a pattern, I expect pattern lab to rebuild once
Actual Behavior
  • double reloads occur

I've researched this and found the issue, outlined here: http://stackoverflow.com/questions/21608480/gulp-js-watch-task-runs-twice-when-saving-files

I confirmed by saving with Atom vs Notepad. Atom saves caused double reloads. Notepad does not.
I've added these chokidar flags to the watches and it appears to resolve the issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions