Skip to content

Incremental builds: Setting cleanPublic = true after incremental build does not recompile all patterns. #581

Closed
@tburny

Description

@tburny

I am using Pattern Lab Node v2.7.0-alpha on Linux, with Node v4.6.2, using the Grunt Edition.

Expected Behavior

When cleanPublic = true is set as configuration option, PL should simply rebuild all patterns.

Actual Behavior

It might be that the serialized graph

  • becomes out of sync with the file system, resulting in unspecified behaviour
  • that there are already compiled templates, thus the according patterns are only recompiled when modified
Steps to Reproduce
  • Build your patternlab with cleanPublic = false
  • Set cleanPublic = true
  • Delete some files in the pattern output directory / modify some pattern templates
  • If there still is a template output or an existing graph file, only some patterns will be rebuilt or there are errors.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions