Skip to content

Incremental Builds: Updating an individual pattern breaks viewall page rendering #586

@bmuenzenmeyer

Description

@bmuenzenmeyer

I am using Pattern Lab Node v2.7.1-alpha on Windows, with Node v5.5.0, using the Gulp Edition.

Expected Behavior

With cleanPublic set to false, incremental build functionality should be enabled.

Altering one file, pattern1.mustache within _patterns/test/group1 should cause it to incrementall rebuild.
However, this update should be visible on any viewall page alongside its sibling patterns. (All other patterns should remain untouched, effectively)

Actual Behavior

Only the changed pattern is displayed on the view all page

Steps to Reproduce
  1. Download zip and place as only thing under source/_patterns/

test.zip

image

  1. gulp patternlab:serve

3 Witness all output or viewall-test-all output

image

  1. Change pattern2.mustache

  2. Witness bug

image

Workaround

When you want to view viewall pages again, delete the dependenyGraph.json file and public/patterns

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions