Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I have been trying to find a way to preview changes to the section blocks after I save the files locally. When using
shopify theme dev
I get
• 20:46:24 Synced » update sections/announcement-bar.liquid
but the actual customization components don't updated unless I either push the code or use the code editor on the website. Is there a way to do this? It makes tinkering with the customization features hard.
When I say customization components I mean when I go to my store and click themes and scroll down to my development duplicate and click customize those components do not sync with the changes I make locally on my machine. I figured since its constantly in sync with that copy of the store the changes should be there no? Id really appreciate the help.
Hi @dylancam90
It does takes a while to update. What I usually do is when I save the file in my IDE. I go to the Shopify theme, and refresh it. Wait for awhile, and preview the theme.
Other option is to run npm run dev again. I know it is time consuming but I don't think there is a better way. I would surely glad to hear if there is any
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025