cli
cli copied to clipboard
[Bug]: flag --theme-editor-sync not pulling newly created template and context files
Please confirm that you have:
- [x] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
- [X] Reproduced the issue in the latest CLI version.
In which of these areas are you experiencing a problem?
Theme
Expected behavior
When a new template is created from the theme editor, it is expected that the file is pulled/generated. Sames goes when the theme editor has changes within a new context, the file is not pulled.
Actual behavior
The "remote" theme editor is not in sync with local files, which can lead to problems and eventually lose settings.
Reproduction steps
- Run shopify theme dev --theme-editor-sync
- Open your development theme in the theme editor
- Change default context or create a new template
- Modify some things and save
- Changes are not pulled locally
Operating System
Windows 11
Shopify CLI version (check your project's package.json
if you're not sure)
3.48.4
Shell
bash
Node version (run node -v
if you're not sure)
v18.16.0
What language and version are you using in your application?
No response