When working on a Shopify product page block extension, I have to refresh the product page every time to see my changes. Is this expected behavior? Is there a faster development workflow to preview changes without refreshing?
Hey @Aswin_Ashok
- happy to help with this. This doesn’t sound like expected behaviour, we should support hot-refreshes (I just tested using an app-bridge embedded Admin Extension).
Can you let me know if in your process shopify app dev is actively running in your terminal and check for any errors in the CLI output and share those? The other thing you’d need to check is if you’re accessing the extension through the Dev Console preview link (press p in the CLI) rather than navigating manually, as this would ensure you’re viewing the live development version.
If you’re still experiencing issues, try a hard browser refresh (Ctrl+Shift+R or Cmd+Shift+R) to clear any caching, and check your browser’s Developer Console for any websocket or hot reload connection errors. Can you also let me know what types of files you’re changing (component code vs. configuration) if the above doesn’t fix it, and whether you see any automatic updates at all or if it requires a full manual refresh every time? Happy to look into this and confirm expected behaviour on our end as well if the issue/behaviour is specific only to product pages though for sure. Hope to hear from you soon!