Shopify theme dev changes not reflected locally, no errors

Shopify theme dev changes not reflected locally, no errors

joeG454
Shopify Partner
2 0 0

Ive recently setup a development store with Shopify CLI. When I run shopify theme dev I am able to open the store locally. But when I make a change to the header (Simply adding to this span in the Dawn theme):

<span class="h2">{{ shop.name }}123</span>

I see no changes reflected locally. The page blinks but no changes appear. I can see the file updating in my terminal and uploading successfully.

 

Refreshing does not work, and I have tried disabling my browser cache. Publishing the theme also seems to have no affect.

Replies 9 (9)

joeG454
Shopify Partner
2 0 0

RESOLVED

SomeUsernameHe
Shopify Partner
519 58 112

Could you possibly post the resolution here for others in the future? 

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
sebbrown
Shopify Partner
2 0 1

Hi @joeG454 , what did you do to resolve this? I have also been experiencing this issue and in order to see the changes I have to keep publishing the changes I make to the synced git repo and then immediately pull from the remote. It’s not ideal.

ChunkySteveo
Shopify Partner
21 0 6

Looks like this has occurred again just now for some users?

I was able to resolve by doing a "shopify upgrade" which updated it to "3.56.3" and I was then able to see local changes occur again.

sebbrown
Shopify Partner
2 0 1

Thanks for the help, this has worked for me as well! I had already performed an upgrade thinking that this may be the issue but it only upgraded to 3.56.0 — upgrading again to the version you suggested did the trick. 👍

Acan
Shopify Partner
1 0 0

I had same problems. I solved problem by moving Shopify files to desktop. It was in the storage area. I think Shopify CLI live reload only work when files are in desktop. This solution may help someone.

zaack93
Shopify Partner
5 0 1

For solve this issue run shopify upgrade

jadech
Visitor
1 0 0

I was using PHPStorm/WebStorm and live reloading didn't work. Switching back to VSCode it works again.

Vystii
Shopify Partner
2 0 0

Same issue. 

solved by running shopify upgrade