shopify cli dev is so slowly
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
shopify cli dev is so slowly
Actual behavior
i use shopify cli develop shopify theme,but when i refresh page.need 20s to refresh ..............!
Verbose output
....
Reproduction steps
Operating System
windows shopify cli
Shopify CLI version (check your project's package.json if you're not sure)
3.58.0
Shell
cmd
Node version (run node -v if you're not sure)
No response
What language and version are you using in your application?
No response
I notice this issue only on windows try using wsl with unix maybe for a quick workaround
wsl with unix
yes only on windows , i will try it. thank you very much.
👋 Hey @changeyoucant,
Thank you for reporting. I've noticed you're running Shopify CLI 3.58.0. Could you please try updating it to the latest version?
One of the enhancements introduced in Shopify CLI 3.67 was related to the development server performance, so you should no longer face this issue there.
Thank you for reporting this!
👋 Hey @changeyoucant,
Thank you for reporting. I've noticed you're running Shopify CLI 3.58.0. Could you please try updating it to the latest version?
One of the enhancements introduced in Shopify CLI 3.67 was related to the development server performance, so you should no longer face this issue there.
Thank you for reporting this!
Having super slow performance as well using the latest version (and versions before) on OSX
@changeyoucant can you verify if this is persisting after upgrading to the new CLI - 3.67?
@khdigital94 That's interesting! 🤔
Could you specify which actions you notice slow performance in? e.g. On initialization, When you reload the page, When you apply a change locally
Could you run the command with --verbose output and leave a comment here with the information from the issue template? That may help us investigate where the slowdown is coming from :)
Issue Template
In which of these areas are you experiencing a problem?
Expected behavior
Actual behavior
Verbose output
Reproduction steps
Operating System
Shopify CLI version (check your project's package.json if you're not sure)
Shell
Node version (run node -v if you're not sure)
What language and version are you using in your application?
Shopify CLI is using v3 of chokidar. Looks like a chokidar v4 resolves performance issues for Windows: https://www.npmjs.com/package/chokidar
👋 Hey folks,
I've tried this in a Windows instance without facing the reported slowness.
Could you please share your --verbose logs when you face the slowness? While updating chokidar is a neat idea, I'd like to validate that we're solving the root cause.
Thank you for reporting this!
👋 Hey folks,
Thank you for reporting.
We've tried to reproduce this problem on Windows, and as you may notice below, we couldn't reproduce any performance degradation there. So, we're closing this issue for now.
However, please feel free to re-open this issue or create a new one if you're still facing this problem. Please include the --verbose logs in the new report, so the team can understand the scenario you're facing and act on the fix for that.
Thanks again for reporting.
👋 Hey folks,
Thank you for reporting.
We've tried to reproduce this problem on Windows, and as you may notice below, we couldn't reproduce any performance degradation there. So, we're closing this issue for now.
However, please feel free to re-open this issue or create a new one if you're still facing this problem. Please include the
--verboselogs in the new report, so the team can understand the scenario you're facing and act on the fix for that.
Thanks again for reporting.
thank you i update and is good!!!