Documentation index for AI agents (llms.txt)
Skip to main content

Saving your work

Every change you make shows up on the canvas right away. Saving stores it in your project, so it's there the next time you open the builder. Saving doesn't put anything on your live site. That only happens when you publish.

The save button​

The save button sits in the toolbar, just right of Preview (the eye icon).

The save button with a tooltip showing unsaved changes
  • With unsaved changes, it shows a save icon. Hover it to see how many, then click to save.
  • With everything saved, it shows a check mark. Clicking it opens version history.
  • If an automatic save fails, it turns red and says Autosave failed, will retry.

You can also press ⌘S / Ctrl+S, or choose File > Save in the logo menu.

Automatic saving​

  • Your changes save automatically within 30 seconds, even while you keep editing. To save right away, click the save button or press ⌘S / Ctrl+S.
  • Leaving the tab saves right away. Switching to another tab or app, putting your computer to sleep or closing the tab saves your pending changes at once.
  • AI replies save themselves. When the AI finishes a reply, its changes are saved, along with any unsaved edits of yours. This works even if you close the builder while the AI is still working.
  • Publishing saves first. The publish button saves any pending changes before it builds.
  • Version history saves first. Opening it saves your pending changes so the newest version includes them.

Leaving with unsaved changes​

If you close the tab or reload while a save is still pending, your browser asks you to confirm. If you leave anyway, your changes are still sent as the page closes. Anything that doesn't make it is usually still in your preview, and it comes back the next time you open the project.

Working in more than one tab​

You can have the same project open in several tabs. When you open it in a new tab, the tabs already open save their pending changes first, so the new tab starts from your latest work. When you restore a version in one tab, the other tabs reload to show it.

A save only sends the files you changed in that tab, so it never undoes changes made in another tab, on another device or by the AI.