How to enable hot reloading of the shopify react app? No 2 different servers for react and koa.

Shopify Partner
28 2 18

It's very frustrating that Every time I make changes to the front end, I have to build it(npm run build) and then refresh the page to see the changes. And when I am running it on localhost port and using proxy it doesn't work because of cookies problem as the cookies are set on the ngrok link and not on localhost link. (I am using @shopify/koa-shopify-auth, verifyRequest) So what is the solution to this problem? 


Founder Descrii Description Generator
Reply 1 (1)
Shopify Partner
1 0 0

This is indeed happening, but occasionally I will see the loading icon in the lower right corner, so I don’t know why shopify cli next app handles hot reload