> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hiveku.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fix a Preview That Won't Load

> What to do when the preview in the site builder stays blank or keeps loading: wait, refresh, restart, or rebuild it

The preview on the right of the site builder is a private copy of your site that updates as you work. Now and then it takes a while to start, shows a blank page, or stops showing your latest change. This guide goes from the gentlest fix to the strongest.

None of these steps change your live site or lose your work. Your changes are saved in your project, not in the preview.

## Give it a moment

When you open a site, or after a big change, the preview shows **Loading Preview** with what it is doing, such as **Compiling your project...**, and how long it has been going. This usually takes under a minute. Click **Show startup details** to see each step.

![Loading Preview: Compiling your project... with a progress bar, Your preview will appear here shortly, 8s, and Show startup details (5), outlined](https://mintcdn.com/locusdigital/KU2dZwnsGNOL1xRp/images/how-tos/site-builder/pv-01-loading-closeup.webp?fit=max\&auto=format\&n=KU2dZwnsGNOL1xRp\&q=85\&s=fb6eacd2ecec01db48cf20b6b17fc608)

If it can't start, the same screen offers a button with the fix it recommends: **Retry Preview** checks again, **Restart preview** restarts it (usually the fastest fix), and **Rebuild preview** starts it from scratch when a restart won't help. The text under each button says why.

## Use the preview menu

Click the three dots in the preview's toolbar. Try them in this order:

![The three-dot button in the preview toolbar, outlined, and its menu: Refresh, Restart, outlined, Resync assets, and Destroy & Rebuild in red, outlined](https://mintcdn.com/locusdigital/KU2dZwnsGNOL1xRp/images/how-tos/site-builder/pv-02-menu-closeup.webp?fit=max\&auto=format\&n=KU2dZwnsGNOL1xRp\&q=85\&s=81035940e3457484a2da106048dc570b)

1. **Refresh** reloads the preview in your browser. Use it when the preview looks out of date.
2. **Resync assets** copies your images and files to the preview again. Use it when pictures show as broken.
3. **Restart** restarts the preview and keeps what it has already installed, so it is much quicker than a rebuild. It fixes most blank or frozen previews.
4. **Destroy & Rebuild** throws the preview away and builds a new one from your project. Use it when nothing else works.

## Rebuild from scratch

**Destroy & Rebuild** asks first. Click **Destroy & Rebuild** in the window to go ahead; it typically takes 2 to 5 minutes, and the preview shows its progress while it starts.

![Destroy & Rebuild Preview: This will permanently destroy the current preview machine and create a fresh one with a clean npm install. Any unsaved container state will be lost. This typically takes 2-5 minutes. With Cancel and Destroy & Rebuild](https://mintcdn.com/locusdigital/KU2dZwnsGNOL1xRp/images/how-tos/site-builder/pv-03-rebuild-confirm-closeup.webp?fit=max\&auto=format\&n=KU2dZwnsGNOL1xRp\&q=85\&s=e7daa67387f2fc0dd39285f3ced7de83)

"Unsaved container state" means things that only lived inside the preview, never your pages, files or content.

## Good to know

* **Someone else is fixing it:** if a teammate is already restarting or rebuilding the preview, the menu says so and its buttons wait until they finish. **Refresh** still works.
* **On a branch:** each branch has its own preview. **Restart** gives the branch a fresh one, and **Resync assets** and **Destroy & Rebuild** aren't offered there.
* **Still stuck?** Ask in the chat on the left, for example "The preview won't load, can you check what's wrong?". It can look at the preview's error messages and fix the code that causes them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.