cli icon indicating copy to clipboard operation
cli copied to clipboard

[Bug]: flag --theme-editor-sync not pulling newly created template and context files

Open MaxDesignFR opened this issue 1 year ago • 14 comments

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

  1. Run shopify theme dev --theme-editor-sync
  2. Open your development theme in the theme editor
  3. Change default context or create a new template
  4. Modify some things and save
  5. 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

MaxDesignFR avatar Aug 31 '23 16:08 MaxDesignFR