Log in Sign up

Hot reload for the theme preview?

Hi! Is there an easy way to add some hot reload feature to a theme preview?

At the moment my dev cycles is:

  1. Making a change to a theme file.
  2. Switching to the browser with the open theme preview URL
  3. Hitting cmd-R, and again cmd-R, and again cmd-R - until Dropbox is synced and the server serves the new version.

Would be great if I could skip step 3 and just wait until the new version appears by itself!

I could think of some server-side injected JavaScript or maybe there exist extensions (I use Firefox) which do the same client-side?

2 replies

I think Hot reload for the preview subdomains is a good idea – I'll add this and follow up here

Answered a year ago · Improve this answer

Cool! Thanks, for being so responsive!

Answered a year ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us

Tags

developers 83 questions bug 40 questions posts 26 questions metadata 24 questions resolved 24 questions templates 23 questions how 14 questions tags 13 questions markdown 11 questions pages 9 questions More tags →
Subscribe for changes
RSS Feed of latest questions