Pregunta

while working with PWA studio venia theme, if we update anything in admin like add a new category or add new product those are not effecting in PWA studio theme instance is there any way that our changes direct reflect on PWA venia theme

¿Fue útil?

Solución

I have also faced this same issue, although I still need to figure out what is the exact root cause and good solution, but I can suggest you a instant solution that I tried and worked for me.

  1. open pwa-studio/packages/venia-concept/.env
  2. MAGENTO_BUILDPACK_SECURE_HOST_ADD_UNIQUE_HASH=1
  3. Uncomment MAGENTO_BUILDPACK_SECURE_HOST_SUBDOMAIN (remove #) and give a value MAGENTO_BUILDPACK_SECURE_HOST_SUBDOMAIN='narendra'
  4. Run commands:

    yarn run watch:venia

Now you will get a new development instance navigate to the same in an incognito window and check.

What I figured out is that may be there is some sort of caching due to which changes are not reflecting on same url.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange
scroll top