-
Notifications
You must be signed in to change notification settings - Fork 130
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]: 'shopify app dev' command not updating dev preview with changes #4234
Comments
Hi, I'm not able to reproduce it. Could you try with |
|
Looking at the log (I've removed some noise from there), it seems that you made a change in If you were able to share a video where you make the change with the console open, it would be very useful. |
I think I tried to make a few changes. When I was trying to get the verbose output it kept getting cut off and the first part of the code was a bunch of jibberish (lots of random characters, like 100+ lines of random numbers and letters). |
@gonzaloriestra just bumping this again as I'm still having issues with this and at a halt on this extension update for a client |
I'm not able to see the video, could you try to share it in a different way? |
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. P.S. You can learn more about why we stale issues here. |
@gonzaloriestra sorry I copied the wrong link - here is the preview link: https://app.screencastify.com/v3/watch/uspvV9nLlIPsimqZSbyZ |
Hey @Lisa-C-27 , what target are you using for your checkout extension? is it Did you move the block in the Checkout Editor? When you move the block in the editor, it will take the deployed version of it, not the |
@isaacroldan yes that's the target I'm using. And when you say move, do you mean move it whilst dev is running or moved it since it was last deployed? I think the block had been deleted from the dev store since it had last been deployed so had to add it back in, but I don't keep moving it whilst it is in dev. |
Hey @Lisa-C-27 , I talked with the Checkout Extensions team and they agree this seems to be an issue with your config/environment. When dev'ing you don't need to add the block to the checkout page, it will be rendered automatically in a default place. If you have a deployed version and move it in the editor, you might see two blocks. Not sure how did you saw some updates, but this specific block, when dev'ing, should appear in a different place (the default block) not where you have it in the video 🤔 I'm sorry I can't help you more, but this is definitely not a CLI issue but something to do with your store/config/enviroment :( Can you try dev'ing to a different store? |
Please confirm that you have:
In which of these areas are you experiencing a problem?
App, Extension
Expected behavior
When running the
shopify app dev
command you should be able to preview development updates on a dev store immediately. In the past have just runshopify app deploy
instead and it would immediately update, but this is not viable once the app has been published to a client store.Actual behavior
Most of the time it is not updating with the newest changes. Sometimes when first running the command it will recognise the first couple of changes and then it will stop recognising changes until maybe coming back and restarting a few hours later.
Verbose output
Reproduction steps
shopify app dev
Operating System
Windows 11
Shopify CLI version (check your project's
package.json
if you're not sure)3.64.1
Shell
VS terminal
Node version (run
node -v
if you're not sure)v20.13.1
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: