--theme-editor-sync no longer refreshes customiser

I have reproduced the issue on the latest CLI version.

Yes, I am on the latest version

I have searched existing posts and this report is not a duplicate.

Yes, this isn’t a duplicate

In which of these areas are you experiencing a problem?

Theme

Expected behavior

Launching the CLI with the flag --theme-editor-sync should hot reload the customizer when customising the local theme with schema changes.

Actual behavior

Since version 3.88.1, this no longer happens - instead a manual refresh is needed.

Reproduction steps

Launch CLI with --theme-editor-sync, open the customiser for the local theme, make a schema change.

Verbose output

Too large to input - uploaded below:
https://pastebin.com/t50cFnGg

Operating system

macOS Tahoe

CLI version

3.88.1

Shell

zsh

Nodejs version

v25.3.0

What language and version are you using in your application?

N/A

1 Like

I’ve looked into this, and it seems like you’ve identified a regression issue in Shopify CLI version 3.88.1. Since you’ve already confirmed that you are on the latest version and provided a clear reproduction case, here are a few things you can try or keep in mind while this is being addressed:

  1. Check for CLI Updates: Sometimes hotfixes are released shortly after a minor version causes a regression. Run shopify upgrade to see if a newer patch (like 3.88.2+) is available.
  2. Clear Local Cache: Occasionally, the local dev server cache causes sync issues. You can try stopping the CLI and running shopify theme dev --reset (if applicable) or clearing your browser’s cache for the admin/customizer URL.
  3. Downgrade as a Temporary Fix: Since this started specifically with v3.88.1, you might want to downgrade to v3.88.0 or the previous stable version where it was working. You can do this via npm: npm install -g @shopify/cli@3.88.0
  4. Check Node.js Version: You are on Node v25.3.0 (Experimental/Current). Sometimes the CLI behaves more predictably on LTS (Long Term Support) versions like Node 20 or 22. If the downgrade doesn’t work, testing on an LTS version might help.

I’ve checked the logs you provided on Pastebin, and it does look like the file watcher is picking up changes but failing to trigger the browser hook. I’d recommend opening a formal issue on the Shopify/cli GitHub repository with this exact data, as it looks like a bug in the sync logic of the new version.

Hope this helps!

Cheers although I’m not sure this is an issue suited to AI really - thanks for running it through though.

Hey @nbsimmons - thanks for flagging. This is odd especially since the changes are showing as synced. @Ankit_Saxena is on point about opening an issue on the CLI repo if you haven’t already:

This would get you in touch with the CLI devs directly and they should be able to help out.

Thanks @Alan_G but when I got to submit a bug report, it redirects me to here? I assumed this was the new place for submitting issues?

Oh, no worries @nbsimmons - I didn’t realize it redirected back here to the forums, in the past it let you set up an issue right in the repo itself. Yeah, this is the right place for this in that case. We can definitely take a look.

Just to narrow down some things, could you let me know which version of Chrome you’re using for the theme preview?

Ah glad I’m not going crazy - haha!

I’ve submitted a few issues before so it was mad to see it’s been migrated to here - seems better laid out in any case.

Chrome version is dictated by my work but it’s currently 144.0.7559.60.

Thanks @nbsimmons - and no worries! I didn’t realize we changed how bug reports work for the CLI :sweat_smile: Looking into this for you now, I’ll loop back once I have more to share/if I need more info from you on our end.

Thanks buddy!

I do have another issue in regards to CLI and the local theme customiser - do you want me to flag as a separate issue?

Hey @nbsimmons - feel free to share that here! We’re still looking into the other issue you reported earlier, but I still have eyes on that too. I’ll keep you in the loop.

Thanks again!

In addition, to the above, the customizer no longer hot reloads when a change is detected locally.

Prior to the last two CLI versions, if –theme-editor-sync was active and you had the Customizer open, it would automatically reload the customizer but this no longer happens.

Hi @nbsimmons

This should be resolved in this recent PR: Fix 401 Unauthorized on cart AJAX endpoints during `shopify theme dev` by kdaviduik · Pull Request #6839 · Shopify/cli · GitHub

Can you re-test on your side?

Hey Liam,

Thanks for responding but sadly it still doesn’t update on 3.90.0 - I tried to update using brew but it doesn’t appear to find any updates for CLI.