-
Notifications
You must be signed in to change notification settings - Fork 407
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 global data.json does not appear to rebuild all patterns #638
Comments
https://github.com/pattern-lab/patternlab-node/wiki/Incremental-Builds |
Oh, I missed that point - thanks for clarifying. For my purposes, saving the file arbitrarily works great too. |
I have the same error for _meta/00-head.mustache. Changing that file does not rebuild patterns correctly. Actually, if I delete the whole public/ folder and rebuild it, it is still rendered with the old _meta/00-head.mustache file content, so that seems to be cached somewhere. Developing on two laptops working on the same project repo, I can reproduce this on both Windows and Mac. Only fix is setting cleanPublic=true. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Any update on this? We run in a similar issue. When changing somethings in a JSON file, the pattern will not be rebuild. But changing something in a JSON file of a variant (e.g. example~variant1.json) the pattern will be rebuild. |
@SteffiB this hasn't made it into my immediate roadmap, but I appreciate you letting me know it's a problem. I'll fit it into the priorities somewhere. PRs always welcome too! |
Also linked to #695. The problem is the same: There is no pattern for these files, so their changes are not picked up. |
The simplest thing would be to watch these files and have a mechanism to
rebuild all patterns on the public API we expose to gulp/grunt, etc.
…On Sat, Oct 7, 2017, 6:42 AM tburny ***@***.***> wrote:
Also linked to #695
<#695>. The problem
is the same: There is no pattern for these files, so their changes are not
picked up.
When detecting a change in _meta or data.json, all patterns need to be
rebuilt.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#638 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASNw9zPNpykw4mnw4wwBrcW_x3t6VZRks5sp2OvgaJpZM4MY9AL>
.
|
I am using Pattern Lab Node
v2.8.0
onWindows
, with Nodev4.6.2
, using theGulp
Edition.Expected Behavior
_data/data.json
causes any patterns using data within to hae changes reflectedActual Behavior
Steps to Reproduce
_data/data.json
_data/data.json
:See
Foobar
added within paragraph.Workaround
Save the file with an arbitrary change, causing it to be dirty and pick up the new data.
The text was updated successfully, but these errors were encountered: