You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.
Since editing a section in the theme I am developing, Slate no longer uploads config/settings_data.json to my dev theme, either when running yarn start, or when editing it when yarn watch is active. (It's possible it never worked, even before using the theme section editor, but I'm not sure)
Replication steps
edit & lint config/settings_data.json
run yarn start
slate claims to upload the correct count of files that would include config/settings_data.json, but it is unchanged in the theme editor.
More Information
tested with cli.promptSettings set to both true and false
by responding both y & N to the prompt, I can see that when I tell it to go ahead and upload settings, the file count is one higher.
no error is reported, all files are reported as uploaded.
I've verified that the changes are present in the built version.
I've verified the file CAN upload by uploading it directly with theme deploy config/settings_data.json -d dist, which works as expected.
The text was updated successfully, but these errors were encountered:
You're most likely running into an issue with incompatible schema in Shopify. Have you confirmed that your settings_data.json is valid by copy/pasting it into your theme files with the Admin GUI editor? I've run into cases where after making Section changes in the admin and then trying to upload the data file it will upload it but not save due to incompatible schema based on the section settings. Slate does not warn you about this, although ThemeKit I believe does in the same scenario.
yes, I have confirmed that the settings_data.json is valid (and as I mentioned, I am able to upload it directly with themekit from the build directory)
Problem
Since editing a section in the theme I am developing, Slate no longer uploads
config/settings_data.json
to my dev theme, either when runningyarn start
, or when editing it whenyarn watch
is active. (It's possible it never worked, even before using the theme section editor, but I'm not sure)Replication steps
config/settings_data.json
yarn start
config/settings_data.json
, but it is unchanged in the theme editor.More Information
cli.promptSettings
set to both true and falsetheme deploy config/settings_data.json -d dist
, which works as expected.The text was updated successfully, but these errors were encountered: