Theme settings in theme preview

Topic summary

A developer is experiencing issues with theme settings not displaying correctly in the local preview environment after updating Shopify CLI to version 3.58.0.

The Problem:

  • When running shopify theme dev (replacing the previously used shopify theme serve), the preview at http://127.0.0.1:9292 doesn’t show applied theme settings
  • Example: buttons appear in default theme colors instead of customized colors
  • The developer has a Git repository with a master branch connected to their development theme

What Works:

  • Opening the theme editor through “Customize your theme” displays everything correctly with proper settings applied
  • No issues were encountered with the previous CLI version 2

Current Status:
The issue remains unresolved. The discrepancy between the local dev preview and the theme editor suggests a potential CLI configuration or caching problem specific to the local development environment.

Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

Hi,
I’ve a git repository with a branch (master) connected to one my development theme.

I’ve this branch stored locally and never encountered any problem when coding with VS code, and doing

shopify theme serve

to see the preview.

I’ve recently updated the CLI to 3.58.0 (I was using a 2 version and I’ve never had any problem).

Now (instead of theme serve I used before) if I do

shopify theme dev 

If I open the preview at 127.0.0.1:9292 though I don’t see my theme settings applied… For example my buttons are in the default theme color, etc…

I want to add that if I click on “Customize your theme at the theme editor” opening the theme editor instead of "http://127.0.0.1:9292" everythings looks fine…