Hi All - FYI - I’m new to developing and using Shopify, so appreciate any advice
I’m developing an app and just recently, my .liquid file doesn’t seem to be updating on the Shopify side. I’ve deployed, ran the development server, updated my Shopify, and even replaced the file to make it simple. Cache has been cleared (where it can).
When I bundle the app, my simple .liquid file always being replaced by an older version. Any suggestions?
Hey @Burian - I can’t say for sure what’s happening here, but just a few suggestions in case they help.
If you’re not already, I’d recommend making sure you’re running shopify app deploy after making your changes, as sometimes the local dev server doesn’t automatically pick up liquid file modifications. You might also want to try restarting your development server with shopify app dev --reset and clearing your browser cache (or testing in an incognito window) to rule out any local caching issues.
If you’ve tried those steps already/do try them and the issues persists, could you let me know what version of Shopify CLI you’re using (shopify version ) and whether you’re seeing any error messages in the console when running shopify app dev ?
Also, it would be helpful to know if you’re testing your changes through the theme editor/customizer or directly through your app, and whether the liquid files are in the correct directory structure (like extensions/[extension-name]/blocks/ ). Sometimes there can be validation errors or syntax issues (like multiple {% javascript %} tags in one file) that prevent updates from going through.
If you could share any error messages you’re seeing or the structure of your theme app extension directory, that would help narrow down the issue. If you’d like to share your extension code as well (as a zip file, etc), even through a DM, let me know and I can take a look for sure.