-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: shopify theme dev
stops after an hour and a half
#781
Comments
Hi @diegovogel, thanks for reporting this. It is a known bug and we are working on fixing it |
Great, thanks @isaacroldan |
@diegovogel I also faced similar issues, what worked for me is changing cli version, there is a slight difference of cli commands between version 2 and 3 so you'll have to keep that in check. |
Thanks @habibly. We recently upgraded from 2.x to 3.x because the docs seem to encourage that. But I see what you're saying about the repo suggesting otherwise. @isaacroldan can you clarify what should be used for theme dev? There are other benefits of 3.x that we're enjoying, so we may stick with it anyway. |
Yes, CLI 3.x is the recommended tool for themes. We are actively working on solving this and other theme issues, i'll update this issue when we have a fix. That message from the CLI 2.x repo is outdated, i'll make sure we update that doc soon. |
same here, stops after an hour and a half |
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. |
There a timeset called ThemeRefreshTimeoutInMinutes in the Shopify auth using the CLI to authenticate to a store, its 90 minutes, this really need to change as soon as possible or add the --password flag to use the token generated by the theme Access App. Check here: https://github.com/Shopify/cli/blob/main/packages/theme/src/cli/commands/theme/dev.ts |
Just updated to v3.28.0 and it's fixed! After 2 hrs I'm still logged in. Thank you @isaacroldan! |
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
When I run
shopify theme dev
I expect it to run as long as my computer is awake.Actual behavior
When I run
shopify theme dev
it will only run for about an hour and a half before stopping. And when I restart it I always have to log back in. I'm assuming thetheme dev
command stops because I'm getting automatically logged out. I'm not sure if this is a bug or a feature but it's annoying.Stack trace
No response
Reproduction steps
shopify theme dev
.Operating System
macOS Ventura
Shopify CLI version (check your project's
package.json
if you're not sure)3.23.0
Shell
zsh
Node version (run
node -v
if you're not sure)v15.14.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: