Skip to content

Renaming pattern causes patternlab to break #580

Closed
@bramsmulders

Description

@bramsmulders

I am using Pattern Lab Node v2.7.1-alpha on Mac, with Node v4.4.1, using the Gulp Edition.

Expected Behavior

Renaming a pattern rebuilds the pattern tree without issues

Actual Behavior

When renaming a pattern the pattern does not match anymore in the dependencyGraph and thus the builder cannot find the pattern anymore. It throws an error. The only solution is to remove the patterns folder and remove the dependencyGraph file. Then the build succeeds again.

Steps to Reproduce

See above, renaming a pattern.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions