Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Delay refresh#44

Open
montalvomiguelo wants to merge 9 commits intobarrel:developfrom
montalvomiguelo:delay-refresh
Open

Delay refresh#44
montalvomiguelo wants to merge 9 commits intobarrel:developfrom
montalvomiguelo:delay-refresh

Conversation

@montalvomiguelo
Copy link
Contributor

@montalvomiguelo montalvomiguelo commented May 9, 2021

A slight delay is needed when files sync to Shopify before reloading the page. 1600-2000ms seem to work well.

We could make this configurable by adding a delay option to the config.yml file in our themes.

development:
  password: abcdf
  theme_id: 1111111111
  store: wheelbarrow.myshopify.com
  delay: 2000

cc @bengodfrey @wturnerharris

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant