-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incremental Builds: Updating an individual pattern breaks viewall page rendering #586
Comments
Just to raise awareness: Reproducible by running Mentioned workaround works for me too. |
@georgiee thanks for the report - a set of changes on the |
Thanks for that quick response. I'm fine with the stable 2.6.2 for now. But I gave the dev branch a quick test anyway and it worked like promised. I love to see incremental builds finally coming to pattern lab. Thanks all your efforts. |
@georgiee |
The UI uses a plain mustache template (i.e. not a Pattern) via
|
Confirmed this is working now. Will be doing one final run of some of this functionality and then releasing! |
I am using Pattern Lab Node
v2.7.1-alpha
onWindows
, with Nodev5.5.0
, using theGulp
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
source/_patterns/
test.zip
gulp patternlab:serve
3 Witness
all
output orviewall-test-all
outputChange
pattern2.mustache
Witness bug
Workaround
When you want to view viewall pages again, delete the
dependenyGraph.json
file andpublic/patterns
The text was updated successfully, but these errors were encountered: