`theme deploy` seems to reset `content_for_index`

New Member
1 0 0

Whenever I do a `theme deploy` the settings on my store homepage seem to be reset. Is this normal?


I've bought and customised the Blockshop theme and configured a Featured Collection section on the homepage. I note the homepage (index.liquid) is little more than

{{ content_for_index }}

which from Googling seems about right.


I've made some tweaks elsewhere in the theme code and then run a `theme deploy` and the collection assigned to this Featured Collection section is removed.  Coming from a CMS development background this seems wrong, but I'm wondering if that's just the way Shopify works or if I'm doing something wrong?


New Member
1 0 1

Yeah this is frustrating and stupid...but i think here's the solution:

If you make any changes to your home page in the customiser, you gotta run the `theme download` command first

This downloads and updates the settings_data.json file locally. Otherwise you're deploying the original settings every time you run a theme deploy if they aren't updated locally.