-
Notifications
You must be signed in to change notification settings - Fork 143
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
[Bug]: No HMR when working with extensions #5154
Comments
Digging into this further - I had to remove |
Hey @kinngh, thanks for the report, can you please let me know the value of |
So here's how I work with this - I have 3
In all cases, the value of
A fix I found was to move the Please let me know if there's any more information you need or if this wasn't clear enough |
That's all I needed :) The bug is in the wildcards for the So changing to:
Should work as a workaround while we fix this issue. |
Can confirm this now works as expected - thank you so much! |
Please confirm that you have:
In which of these areas are you experiencing a problem?
Extension
Expected behavior
Any changes to the code for extensions should trigger a re-render and update the extension
Actual behavior
Despite making changes to the code, the extension is never updated and requires a rerun of
shopify app dev
to see any changes.My understanding is the CLI isn't watching for changes and rebuilding because the verbose logs are very clear that HMR is working as expected, except for Theme Extensions that's causing these issues.
Video: https://www.youtube.com/watch?v=EApN72a-Ddo
Verbose output
Verbose output
Reproduction steps
Video: https://www.youtube.com/watch?v=EApN72a-Ddo
Operating System
macOS 15.2
Shopify CLI version (
shopify --version
)@shopify/cli/3.72.2 darwin-arm64 node-v23.5.0
Shell
zsh
Node version (run
node -v
if you're not sure)23.5 (tested with 18.x LTS too)
What language and version are you using in your application?
Node 23.5 / JavaScript
The text was updated successfully, but these errors were encountered: