-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Load the twenty twenty one theme by default in Gutenberg's wp-env config #26414
Conversation
Size Change: 0 B Total Size: 1.2 MB ℹ️ View Unchanged
|
dbcd0c8
to
5af4918
Compare
🤔 This isn't working for me locally. Whenever I start
I normally override the themes with |
@Copons if you override the default config, there's a change the e2e tests won't work for you. that's to be expected since these themes will end up in sub folders. Do you have issues with the default config without overriding? |
@youknowriad Yup, sorry I wrote a very confusing comment. I've tried running (The rest of the comment was to report that overriding |
That's because of some cache in wp-env, try removing |
@youknowriad nope, still nothing 😞 |
I had the same issue personally, and the cache was the reason for me because wp-env don't recreate it if the config changes (override removed). When I said "restart", I meant "destroy all your containers and restart :P" |
Yeah I've tried deleting |
That's weird, the intention is that when the config changes, then the cache would be updated and it would reconfigure everything 🤔 Do you think this points to a bug in wp-env or maybe I misunderstand? |
Yes, definitely :)
See if it's an "update", the |
I've figured out where it breaks, but not how to fix it (I'm very unfamiliar with all of this).
EDIT: |
That shouldn't matter though, unless I'm missing something:
After we set So if it's an "update" then it doesn't matter whether or not the config changed since we still run all the same configuration steps. And we always use the current config file from the filesystem (so it shouldn't be cached). We just cache a hash of the config file so that we can avoid configuration when the config file hasn't changed. I'm happy to try to fix the issue, I just don't quite understand what the issue is :) |
You're right, not sure exactly but i did notice that unless I remove the cache manually, the volumes don't get downloaded/synced again. |
To help us work and test Full site editing, this PR loads the 2021 blocks theme in Gutenberg's default wp-env.