-
Notifications
You must be signed in to change notification settings - Fork 402
Closed
Labels
Description
I am using Pattern Lab Node 3.0.0-beta.2 on Mac, with Node v11.9.0`.
Expected Behavior
When setting cleanPublic to true (or not defining it again since it's in the default settings), the folder defined in paths.public.root.patterns should be emptied.
Actual Behavior
The folder doesn't get emptied.
Steps to Reproduce
Run npm run pl:serve, create a pattern in source/_patterns, save it.
As far as I can tell, options.cleanPublic is used in packages/core/src/index.js/ instead of patternlab.config.cleanPublic, but cleanPublic is not a property in options, only in patternlab.config.