Local development not synching template

Topic summary

A developer encountered an issue where changes made to a custom Shopify template through the online editor were not syncing to their local development environment.

Problem Details:

  • Modified template using the Shopify CLI-provided editor URL
  • Added sections through the editor and clicked “save”
  • Local template files did not update despite running shopify theme dev
  • Attempted troubleshooting steps included clearing cache and using incognito mode

Resolution:

  • The issue was resolved by pulling the theme after making changes in the editor
  • Once the pull step was completed, the new code appeared in the local environment

Key Takeaway:
Changes made in the online editor require an explicit pull command to sync with local files - they don’t automatically update when running the dev server.

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

Found what the problem was.
I was missing one step: pulling the theme being developed after making changes on the editor.
Once I did that, the new code started to show up.

Thanks.