latest changes not update immediatly in PWA studion theme
-
25-02-2021 - |
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
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.
- open
pwa-studio/packages/venia-concept/.env
MAGENTO_BUILDPACK_SECURE_HOST_ADD_UNIQUE_HASH=1
- Uncomment
MAGENTO_BUILDPACK_SECURE_HOST_SUBDOMAIN
(remove #) and give a valueMAGENTO_BUILDPACK_SECURE_HOST_SUBDOMAIN='narendra
' 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