Please confirm that you have:
What type of project are you working on?
theme
Expected behavior
When doing "shopify theme serve" anew (No development theme uploaded yet) it says that all .json files are out of sync. "is different from the remote version in the development theme", choosing "Keep the remote version" actually results in all of your .json files being deleted!
It shouldn't say any files are out of sync because they don't yet exist on the development theme..
Actual behavior
All of my .json files were deleted
Stack trace
No response
Reproduction steps
- Login to a Shopify Store. (shopify login --store store-a.myshopify.com)
- Login to a different Shopify Store ((shopify login --store store-b.myshopify.com))
- Run "shopify theme serve --theme-editor-sync"
- Wait for message "xx is different from the remote version in the development theme"
- Choose number 1 (Keep the remote version)
- Watch as all of your .json files get deleted!
Operating System
Windows 11
CLI version (run shopify version if you're not sure)
2.19.0
Shell
Git Bash
Ruby version (run ruby -v if you're not sure)
2.7.3p183
What language and version are you using in your application?
N/A
Please confirm that you have:
What type of project are you working on?
theme
Expected behavior
When doing "shopify theme serve" anew (No development theme uploaded yet) it says that all .json files are out of sync. "is different from the remote version in the development theme", choosing "Keep the remote version" actually results in all of your .json files being deleted!
It shouldn't say any files are out of sync because they don't yet exist on the development theme..
Actual behavior
All of my .json files were deleted
Stack trace
No response
Reproduction steps
Operating System
Windows 11
CLI version (run
shopify versionif you're not sure)2.19.0
Shell
Git Bash
Ruby version (run
ruby -vif you're not sure)2.7.3p183
What language and version are you using in your application?
N/A