themekit: unexpected 409 while running watch
What I expected to happen
I’m having a lot of issues the latest release. It is all tied to
the theme.lock
file preventing changes being uploaded. I’m having to constantly delete the theme.lock file, do a theme upload MYFILE --force
, or restart theme watch
.
I am the only one working on store, is it because I switch branches? What is the ideal set up I should be doing so I don’t run into this issue constantly? Any help would be greatly appreciated.
I am considering downgrading, where/how can I get an older release?
My Environment
OS (including version): MacOS 10.12.6 Sierra Themekit version: ThemeKit 0.7.3 darwin/amd64 Ignore Files(if any):

About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 35 (13 by maintainers)
@yifanchen If you run upload you would see the full error
I will however add this description to the error output of the 409 so that there is no longer any confusion.
@seangeng Have you run
theme download templates/product.liquid
to get the most recent version of that file?The tool is telling you that the remote file has changed so you can’t upload changes.
theme download [filename]
fetches the remote. I honestly don’t see what is so “hacky” about this at all.Using
theme download [filename]
worked for me… then fired uptheme watch
and usedCntrl + Z
in my IDE to Undo the downloaded changes and send the new updates.@tanema Update: things seem to be working much smoother now with the patch.
I cleaned out my
theme.lock
file, it might actually be working. I’ll let you know if it seems to be corrected. Another thing I’m trying is shutting downtheme watch
before I switch branchesHey @rickmurt thanks for this extra info, it really helps an incredible amount. I will have time to devote to looking into this tomorrow.