CheckoutWorks Shopify Partner

We fix Shopify bugs at a flat $49 per fix. Most fixes within 24 hours.

Fix My Bug →

Shopify Theme Editor Refresh Controls: A Free Tampermonkey Userscript

·Johnny Chen Founder & Shopify Developer at CheckoutWorks
Cover reading “Refresh Only the Stuck Part” beside the Shopify theme editor with the added refresh and discard buttons highlighted.

If you refresh Shopify’s Theme Editor 1,000 times a day, just like us, this is for you.

The number is exaggerated. The frustration is not.

Sometimes the storefront preview gets stuck or stops reflecting changes. Refreshing the entire browser tab usually fixes it, but it also reloads the Shopify Admin shell, the Theme Editor, and the storefront preview together—even when only one part needs attention.

A full reload takes more time, interrupts your place in the editor, and may occasionally lead to another login or verification step.

That is why we built Shopify Theme Editor Refresh Controls: a small tool that refreshes only the part you need.

Two controls for two different problems

This free, open-source Tampermonkey userscript adds two buttons beside Sidekick in the Shopify Theme Editor.

Refresh storefront preview

This button reloads only the active storefront preview.

The Theme Editor stays open, your current template remains selected, and your unsaved editor settings stay available. Use it when the preview is blank, stale, stuck, or no longer reflecting your changes.

Refreshing only the storefront preview in Shopify Theme Editor while keeping unsaved changes

Discard and refresh the theme editor

Sometimes the preview is not the problem. You may have changed several settings, decided not to keep them, and simply want to return to the last saved theme state.

This button asks for confirmation, discards the unsaved Theme Editor changes, and refreshes the editor from Shopify’s last saved state. When there are no unsaved changes, the button stays disabled.

Important: this action permanently removes all unsaved Theme Editor changes. It returns to the last saved state, not the theme’s original factory settings.

Discarding unsaved Shopify Theme Editor changes and returning to the last saved state

Who is this for?

This userscript is for people who spend a lot of time in Shopify’s Theme Editor:

  • Shopify developers, freelancers, and agencies working across themes and templates.
  • In-house ecommerce teams testing content, layouts, and theme settings.
  • Merchants who regularly customize and maintain their own themes.

If you regularly switch between templates, sections, and preview states, this was probably built for you.

Install the userscript

FREE · OPEN SOURCE · GITHUB

Shopify Theme Editor Refresh Controls

Note: Make sure "Allow User Scripts" is enabled.(See how)

Why not refresh the whole browser tab?

You still can. This userscript does not replace the normal browser refresh when the entire Shopify Admin page is unresponsive.

It is designed for two more focused situations: reloading only the storefront preview or deliberately discarding the current unsaved editor session.

One click may save only a few seconds. Repeated throughout a development day, those small interruptions add up.

One less full-page refresh

Use the preview button when only the storefront preview needs to reload. Use the discard button when you want to remove the current unsaved changes and return to the last saved state.

It is a small tool for one repetitive part of Shopify development. If it saves a few full-page refreshes—and a little frustration—it has done its job.

If another part of the Admin costs you the same kind of repeated clicking, we wrote one more: a userscript that copies the URLs of every file you select on the Files page, instead of one Copy link at a time.

Get Shopify help _

Still stuck on a Shopify issue?

We can diagnose it and get it fixed.

$49 USD

ONE FOCUSED FIX · FIXED OR REFUNDED

Fix my Shopify issue