You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
In which of these areas are you experiencing a problem?
Theme
Expected behavior
When I update a file, it should hot reload or reload the page.
Actual behavior
Hey,
So last week I had this issue where assets were not being served on my local server (assets meaning images coming from shopify cdn) the liquid files would properly load and hot-reload when changed, but changes in the /assets folder loaded once on page load but didnt hot reload on change.
Now this week for some reason the assets from shopify CDN magically started working again (they are pulled properly) but the hot-reload problem remains, when changing files from the /assets folder they do not hot-reaload
The weird thing is that in the verbose output, it is saying its hot reloading but it actually isnt, as you can see in this demo:
Recording.2023-05-05.102712ss.mp4
I only experience this issue with this store specifically, and I wanted to know if there's a way to delete the store-specific cached instructions from shopify cli in my pc (if such things exists, I havent been able to find it) so they refresh and maybe that can fix it?
Another route i thought was going on is that the connection was not properly done? but I haven't figured out if that's it, I get these erros on my console on page load (these erros do not appear in the live theme)
Verbose output
shopify theme dev --store sargent-door-hardware.myshopify.com --port 5500 --host 0.0.0.0 --verbose
2023-05-05T15:05:29.667Z: Running command theme dev
shopify:theme:dev init version: @oclif/core@2.1.4 argv: [ '--store', 'sargent-door-hardware.myshopify.com', '--port', '5500', '--host', '0.0.0.0', '--verbose' ] +0ms
2023-05-05T15:05:29.682Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]
2023-05-05T15:05:29.682Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store sargent-door-hardware.myshopify.com:
[]
2023-05-05T15:05:29.683Z: Getting session store...
2023-05-05T15:05:29.687Z: Validating existing session against the scopes:
[
"openid",
"https://api.shopify.com/auth/shop.admin.graphql",
"https://api.shopify.com/auth/shop.admin.themes",
"https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
"https://api.shopify.com/auth/shop.storefront-renderer.devtools",
"https://api.shopify.com/auth/partners.app.cli.access"
]
For applications:
{
"adminApi": {
"scopes": [],
"storeFqdn": "sargent-door-hardware.myshopify.com"
}
}
2023-05-05T15:05:29.689Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2023-05-05T15:05:29.689Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
- User-Agent: Shopify CLI; v=3.45.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-05-05T15:05:30.038Z: Request to https://accounts.shopify.com/oauth/introspection completed in 340 ms
With response headers:
- cache-control: no-cache, no-store, private, must-revalidate, max-age=0
- content-type: application/json; charset=utf-8
- etag: W/"98381559a89acdf984d2bd9163c421ce"
- x-request-id: 8514d586-678f-448f-991f-36a061bd0923
2023-05-05T15:05:30.042Z: The identity token is valid: true
2023-05-05T15:05:30.042Z:
The validation of the token for application/identity completed with the following results:
- It's expired: false- It's invalid in identity: false
2023-05-05T15:05:30.043Z: The current session is valid but needs refresh. Refreshing...
2023-05-05T15:05:30.044Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_171b74a281db3376c70879446bf23b0629c759ee2d3b70a822e4ed314ff6f726&refresh_token=atkn_d83e2a604140878a868324ce625ce856129c25663555a477c68ee6f2517118a6&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3
With request headers:
- User-Agent: Shopify CLI; v=3.45.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-05-05T15:05:30.391Z: Request to https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_171b74a281db3376c70879446bf23b0629c759ee2d3b70a822e4ed314ff6f726&refresh_token=atkn_d83e2a604140878a868324ce625ce856129c25663555a477c68ee6f2517118a6&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 completed in 344 ms
With response headers:
- cache-control: no-cache, no-store, private, must-revalidate, max-age=0
- content-type: application/json; charset=utf-8
- etag: W/"6ee114f33424b4832bc20b58717b04e2"
- x-request-id: 076692da-170c-4ca3-985d-21b2ace0501b
2023-05-05T15:05:30.394Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=271e16d403dfa18082ffb3d197bd2b5f4479c3fc32736d69296829cbb28d41a6&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&subject_token=atkn_43dad6d3a6f9d8f77f1c77f09e474cac5ae7e71e91c95e92744174bea956fc9c
With request headers:
- User-Agent: Shopify CLI; v=3.45.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-05-05T15:05:30.395Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=ee139b3d-5861-4d45-b387-1bc3ada7811c&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools&subject_token=atkn_43dad6d3a6f9d8f77f1c77f09e474cac5ae7e71e91c95e92744174bea956fc9c
With request headers:
- User-Agent: Shopify CLI; v=3.45.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-05-05T15:05:30.662Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=ee139b3d-5861-4d45-b387-1bc3ada7811c&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools&subject_token=atkn_43dad6d3a6f9d8f77f1c77f09e474cac5ae7e71e91c95e92744174bea956fc9c completed in 264 ms
With response headers:
- cache-control: no-cache, no-store, private, must-revalidate, max-age=0
- content-type: application/json; charset=utf-8
- etag: W/"6920b5b0e415cb583705226cf62999a4"
- x-request-id: 1e0dc234-a28c-4bbc-92a4-ae2cfa6f95de
2023-05-05T15:05:30.895Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=271e16d403dfa18082ffb3d197bd2b5f4479c3fc32736d69296829cbb28d41a6&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&subject_token=atkn_43dad6d3a6f9d8f77f1c77f09e474cac5ae7e71e91c95e92744174bea956fc9c completed in 498 ms
With response headers:
- cache-control: no-cache, no-store, private, must-revalidate, max-age=0
- content-type: application/json; charset=utf-8
- etag: W/"89ae7df04702c03ff809ad6a9f0420ba"
- x-request-id: 508d1577-932b-4d70-b94b-14127282cfa5
2023-05-05T15:05:30.897Z: Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.graphql+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.themes+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly&subject_token=atkn_43dad6d3a6f9d8f77f1c77f09e474cac5ae7e71e91c95e92744174bea956fc9c&destination=https%3A%2F%2Fsargent-door-hardware.myshopify.com%2Fadmin
With request headers:
- User-Agent: Shopify CLI; v=3.45.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-05-05T15:05:31.165Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.graphql+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.themes+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly&subject_token=atkn_43dad6d3a6f9d8f77f1c77f09e474cac5ae7e71e91c95e92744174bea956fc9c&destination=https%3A%2F%2Fsargent-door-hardware.myshopify.com%2Fadmin completed in 265 ms
With response headers:
- cache-control: no-cache, no-store, private, must-revalidate, max-age=0
- content-type: application/json; charset=utf-8
- etag: W/"24b0557e1aed90b960f2f9908974591a"
- x-request-id: 1b85c135-4fb5-4b7e-b622-8fd0649270dd
2023-05-05T15:05:31.167Z: Setting session store...
2023-05-05T15:05:31.170Z: Getting development theme...
2023-05-05T15:05:31.603Z: Request to https://sargent-door-hardware.myshopify.com/admin/api/unstable/themes/122602717250.json?fields=id completed in 430 ms
With response headers:
- content-type: application/json; charset=utf-8
- x-request-id: 247226a1-d103-40c8-bf01-58ea1ee69f3a
╭─ success ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Preview your theme │
│ • [1]] │
│ │
│ Next steps │
│ • Customize your theme at the theme editor [2] │
│ • Share your theme preview [3] │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
[1] http://0.0.0.0:5500
[2] https://sargent-door-hardware.myshopify.com/admin/themes/122602717250/editor
[3] https://sargent-door-hardware.myshopify.com/?preview_theme_id=122602717250
2023-05-05T15:05:31.693Z: Ensuring that the user is authenticated with the Storefront API with the following scopes:
[]
2023-05-05T15:05:31.694Z: Getting session store...
2023-05-05T15:05:31.695Z: Validating existing session against the scopes:
[
"openid",
"https://api.shopify.com/auth/shop.admin.graphql",
"https://api.shopify.com/auth/shop.admin.themes",
"https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
"https://api.shopify.com/auth/shop.storefront-renderer.devtools",
"https://api.shopify.com/auth/partners.app.cli.access"
]
For applications:
{
"storefrontRendererApi": {
"scopes": []
}
}
2023-05-05T15:05:31.697Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2023-05-05T15:05:31.697Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
- User-Agent: Shopify CLI; v=3.45.1
- Keep-Alive: timeout=30
- Sec-CH-UA-PLATFORM: win32
- Content-Type: application/json
2023-05-05T15:05:31.719Z: Failed to report usage analytics: Couldn't find a a package.json traversing directories from D:\Projects\Miguel Ángel - Work\Miguel Ángel x Programming\Colored Byte - Shopify\SDH-WAREHOUSE-THEME2023-05-05T15:05:31.720Z: Completed command theme dev2023-05-05T15:05:31.939Z: Request to https://accounts.shopify.com/oauth/introspection completed in 240 msWith response headers: - cache-control: no-cache, no-store, private, must-revalidate, max-age=0 - content-type: application/json; charset=utf-8 - etag: W/"5538df9403d1ccef5ac8e5e5aa874fb8" - x-request-id: eb9169ed-5c84-4270-b301-7253d36f2b532023-05-05T15:05:31.941Z: The identity token is valid: true2023-05-05T15:05:31.941Z:The validation of the token for application/identity completed with the following results:- It's expired: false
- It's invalid in identity: false2023-05-05T15:05:31.970Z: Running system process: · Command: ruby -v · Working directory: D:\Projects\Miguel Ángel - Work\Miguel Ángel x Programming\Colored Byte - Shopify\SDH-WAREHOUSE-THEME2023-05-05T15:05:32.016Z: Running system process: · Command: bundle -v · Working directory: D:\Projects\Miguel Ángel - Work\Miguel Ángel x Programming\Colored Byte - Shopify\SDH-WAREHOUSE-THEME2023-05-05T15:05:32.337Z: Reading the content of file at C:/Users/Migue/AppData/Roaming/npm/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/Gemfile...2023-05-05T15:05:32.362Z: Running system process: · Command: bundle config set --local path C:\Users\Migue\AppData\Local\shopify-gems-nodejs\Cache · Working directory: C:/Users/Migue/AppData/Roaming/npm/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby2023-05-05T15:05:32.695Z: Running system process: · Command: bundle config set --local without development:test · Working directory: C:/Users/Migue/AppData/Roaming/npm/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby2023-05-05T15:05:33.034Z: Running system process: · Command: bundle install · Working directory: C:/Users/Migue/AppData/Roaming/npm/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby2023-05-05T15:05:33.625Z: Running system process: · Command: bundle exec ruby C:/Users/Migue/AppData/Roaming/npm/node_modules/@shopify/theme/node_modules/@shopify/cli-kit/assets/cli-ruby/bin/shopify theme serve D:\Projects\Miguel Ángel - Work\Miguel Ángel x Programming\Colored Byte - Shopify\SDH-WAREHOUSE-THEME --port 5500 --host 0.0.0.0 --live-reload hot-reload --theme 122602717250 · Working directory: D:\Projects\Miguel Ángel - Work\Miguel Ángel x Programming\Colored Byte - Shopify\SDH-WAREHOUSE-THEMEDEBUG GET https://sargent-door-hardware.myshopify.com/admin/api/unstable/themes.json with request_id: 566e4e59-462a-4324-87b4-ca5c42914924* Syncing theme #122602717250 on sargent-door-hardware.myshopify.comDEBUG GET https://sargent-door-hardware.myshopify.com/admin/api/unstable/themes/122602717250/assets.json with request_id: eb865e4e-9301-4685-b7ff-60775b64df5d 100%[2023-05-05 10:05:36] INFO WEBrick 1.7.0[2023-05-05 10:05:36] INFO ruby 3.1.2 (2022-04-12) [x64-mingw-ucrt][2023-05-05 10:05:36] INFO WEBrick::HTTPServer#start: pid=17108 port=5500DEBUG Refreshing preview _secure_session_id cookieDEBUG Proxying HEAD https://sargent-door-hardware.myshopify.com/?preview_theme_id=122602717250&_fd=0&pb=0DEBUG `-> 302 request_id: f250afa2-4edc-421b-bd4f-b1955d434c4cDEBUG Proxying GET https://sargent-door-hardware.myshopify.com/?_fd=0&pb=0DEBUG `-> 200 request_id: 667f1227-e885-43c6-922f-bc3eeb12ac4eDEBUG Proxying GET https://sargent-door-hardware.myshopify.com/products/sargent-5310f-alarmed-rim-exit-device-wide-stile-pushpad-door-width-33-36-cylinder-dogging-reversible?_fd=0&pb=0DEBUG [HotReload] Connected to SSE streamDEBUG Proxying GET https://sargent-door-hardware.myshopify.com/cart.js?_=1683299161824&_fd=0&pb=0DEBUG `-> 200 request_id: f1ca12f1-c87d-4195-bc78-b0c8738ec863DEBUG `-> 200 request_id: 019a4ad8-3c09-4a9f-b51b-a44d31735e65DEBUG Proxying GET https://sargent-door-hardware.myshopify.com/cart?section_id=mini-cart&_fd=0&pb=0DEBUG `-> 200 request_id: ab32afb1-a87a-4cc5-a7c6-cb8502ba354cDEBUG Proxying GET https://sargent-door-hardware.myshopify.com/cart.js?_=1683299164805&_fd=0&pb=0DEBUG `-> 200 request_id: 28c005a8-0cd8-417d-93c9-47c198a50564DEBUG Proxying GET https://sargent-door-hardware.myshopify.com/cart.js?_=1683299161791&_fd=0&pb=0DEBUG `-> 200 request_id: 34616696-371a-4935-8a1a-fb1e6fc0b9dfDEBUG [HotReload] Modified assets/custom.cssDEBUG update assets/custom.cssDEBUG [HotReload] Modified assets/custom.cssDEBUG PUT https://sargent-door-hardware.myshopify.com/admin/api/unstable/themes/122602717250/assets.json with request_id: 5a2baa91-0060-4646-b991-730a32f1a5f1 • 10:12:23 Synced » update assets/custom.cssDEBUG [HotReload] Modified assets/custom.cssDEBUG update assets/custom.cssDEBUG PUT https://sargent-door-hardware.myshopify.com/admin/api/unstable/themes/122602717250/assets.json with request_id: a0ec461a-94c8-4a2a-9a14-3dc42b219bc3 • 10:12:39 Synced » update assets/custom.cssDEBUG [HotReload] Modified assets/custom.cssDEBUG update assets/custom.cssDEBUG PUT https://sargent-door-hardware.myshopify.com/admin/api/unstable/themes/122602717250/assets.json with request_id: 6065e756-babc-46b3-a844-7381b5a7affd • 10:12:40 Synced » update assets/custom.cssDEBUG Proxying GET https://sargent-door-hardware.myshopify.com/products/sargent-12-5310g-fire-rated-alarmed-rim-exit-device-wide-stile-pushpad-door-width-43-48-cylinder-dogging-reversible?_fd=0&pb=0DEBUG `-> 200 request_id: 1d0b1a19-1eef-41ce-bace-9032d8c807d1DEBUG Proxying GET https://sargent-door-hardware.myshopify.com/products/sargent-5310j-alarmed-rim-exit-device-wide-stile-pushpad-door-width-37-42-cylinder-dogging-reversible?_fd=0&pb=0DEBUG `-> 200 request_id: a8a458e7-f55b-4388-86ce-df49d10cd5c9DEBUG Proxying GET https://sargent-door-hardware.myshopify.com/products/sargent-5310j-alarmed-rim-exit-device-wide-stile-pushpad-door-width-37-42-cylinder-dogging-reversible?_fd=0&pb=0DEBUG `-> 200 request_id: e0abec05-5393-48e8-a456-fda873dc27dbDEBUG Proxying GET https://sargent-door-hardware.myshopify.com/products/sargent-5310f-alarmed-rim-exit-device-wide-stile-pushpad-door-width-33-36-cylinder-dogging-reversible?_fd=0&pb=0DEBUG `-> 200 request_id: 0536c652-ce4d-4f36-87c6-bc8754c6dbb8DEBUG Proxying GET https://sargent-door-hardware.myshopify.com/products/sargent-5310f-alarmed-rim-exit-device-wide-stile-pushpad-door-width-33-36-cylinder-dogging-reversible?_fd=0&pb=0DEBUG `-> 200 request_id: 0108b646-e9a0-498d-a29c-4d49d937ccd1DEBUG Proxying GET https://sargent-door-hardware.myshopify.com/?_fd=0&pb=0DEBUG `-> 200 request_id: af986578-03ea-4f8e-895d-9862e4434cdcDEBUG [HotReload] Connected to SSE streamDEBUG Proxying GET https://sargent-door-hardware.myshopify.com/cart.js?_=1683299859126&_fd=0&pb=0DEBUG Proxying GET https://sargent-door-hardware.myshopify.com/cart?section_id=mini-cart&_fd=0&pb=0DEBUG `-> 200 request_id: 0bdc11d4-61fa-474a-a55d-b46a4dbbd136DEBUG `-> 200 request_id: d4afda1f-9312-4c8c-a0b1-7d268297e075DEBUG Proxying GET https://sargent-door-hardware.myshopify.com/cart.js?_=1683299859724&_fd=0&pb=0DEBUG `-> 200 request_id: ae4b2243-58ec-4cee-9019-bf14b23bff8aDEBUG Proxying GET https://sargent-door-hardware.myshopify.com/cart.js?_=1683299858576&_fd=0&pb=0DEBUG `-> 200 request_id: 141bf45e-ce5b-455d-9d51-9e06360dc649DEBUG [HotReload] Modified assets/custom.cssDEBUG update assets/custom.cssDEBUG PUT https://sargent-door-hardware.myshopify.com/admin/api/unstable/themes/122602717250/assets.json with request_id: 8f65a17b-96c6-4dc2-a28e-3f151bf9f3c4 • 10:18:31 Synced » update assets/custom.cssDEBUG [HotReload] Modified assets/custom.cssDEBUG update assets/custom.cssDEBUG PUT https://sargent-door-hardware.myshopify.com/admin/api/unstable/themes/122602717250/assets.json with request_id: 46181d96-36e7-4803-8b89-46808224837d • 10:18:42 Synced » update assets/custom.cssDEBUG Proxying GET https://sargent-door-hardware.myshopify.com/products/sargent-12-5310g-fire-rated-alarmed-rim-exit-device-wide-stile-pushpad-door-width-43-48-cylinder-dogging-reversible?_fd=0&pb=0DEBUG `-> 200 request_id: e8dec917-927b-457c-bdb8-1b16d843d5edDEBUG [HotReload] Modified assets/custom.cssDEBUG update assets/custom.cssDEBUG PUT https://sargent-door-hardware.myshopify.com/admin/api/unstable/themes/122602717250/assets.json with request_id: bd6e8911-5a34-4e48-9381-d6f73383e1d6 • 10:19:07 Synced » update assets/custom.css
Reproduction steps
run shopify theme dev --store {storeurl} --port 5500 --host 0.0.0.0 --verbose
make a change on a file in the /assets folder
it won't hot reload
Operating System
Windows 11
Shopify CLI version (check your project's package.json if you're not sure)
3.45.1
Shell
Powershell
Node version (run node -v if you're not sure)
v18.16.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered:
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
→ If there's no activity within a week, then a bot will automatically close this.
Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
When I update a file, it should hot reload or reload the page.
Actual behavior
Hey,
So last week I had this issue where assets were not being served on my local server (assets meaning images coming from shopify cdn) the liquid files would properly load and hot-reload when changed, but changes in the /assets folder loaded once on page load but didnt hot reload on change.
Now this week for some reason the assets from shopify CDN magically started working again (they are pulled properly) but the hot-reload problem remains, when changing files from the /assets folder they do not hot-reaload
The weird thing is that in the verbose output, it is saying its hot reloading but it actually isnt, as you can see in this demo:
Recording.2023-05-05.102712ss.mp4
I only experience this issue with this store specifically, and I wanted to know if there's a way to delete the store-specific cached instructions from shopify cli in my pc (if such things exists, I havent been able to find it) so they refresh and maybe that can fix it?
Another route i thought was going on is that the connection was not properly done? but I haven't figured out if that's it, I get these erros on my console on page load (these erros do not appear in the live theme)
Verbose output
Reproduction steps
Operating System
Windows 11
Shopify CLI version (check your project's
package.json
if you're not sure)3.45.1
Shell
Powershell
Node version (run
node -v
if you're not sure)v18.16.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: