Sandboxes
Check a sandbox from
More >
Sandbox Status in the Builder navigation.
Every app you open in the Builder runs in its own cloud sandbox. The sandbox holds your app’s code, installs its packages, runs the preview, and gives the AI agent a place to work. It starts when you open the app, so you don’t have to set anything up.
This page explains what you’ll see when a sandbox pauses, how to restart it, how many projects your plan can have open at once, and how to read the sandbox status.
When a sandbox pauses
Section titled “When a sandbox pauses”Sandboxes pause after a period with no activity, which frees them for your other apps. Activity counts across the whole project: clicking, typing, or scrolling in any app in the project keeps all of the project’s sandboxes running.
- When the project has been idle for a while, the Builder shows Are you still there? and a one-minute warning. Click Keep Working to keep the sandboxes running.
- If nobody responds, the project’s sandboxes pause and the Builder shows Sandbox Paused.
Sandboxes also pause on their own after you leave the Builder, so you don’t need to stop them yourself.
Restart a paused sandbox
Section titled “Restart a paused sandbox”On the Sandbox Paused screen, click Restart Sandbox. The sandbox starts again and the app reloads, the same as when you first open it. Click Go to Dashboard if you’d rather leave it paused.
You can also open the app again later from your dashboard. Opening an app starts its sandbox.
Open project limit
Section titled “Open project limit”Your plan sets how many projects can be open at the same time across your organization. A project is open while any of its apps has a running sandbox. Every app in an open project can run, so opening a project’s backend next to its mobile app doesn’t count twice. Your teammates’ open projects count too. Projects whose sandboxes are all paused don’t count.
| Plan | Projects open at once |
|---|---|
| Free | 1 |
| Standard | 1, plus 1 per added seat |
| Pro | 3, plus 1 per added seat |
| Enterprise | Unlimited |
For example, Standard with 2 added editor seats can have 3 projects open. See Adding seats.
Other apps in the project
Section titled “Other apps in the project”When you open an app, Draftbit also starts the sandboxes of up to four other apps in the same project in the background, so they’re quicker to open next. They’re in a project you already have open, so they don’t count against your open project limit. Draftbit never stops a running sandbox to make room, doesn’t hold up the app you opened, and pauses them with the rest of the project.
When you reach the limit
Section titled “When you reach the limit”If you open an app in another project while your organization is already at its limit, the Builder shows Open project limit reached instead of the app. The message names your plan, its limit, and the app you’re opening, for example: “You’ve reached your Pro plan’s limit of 3 open projects. Close one below to open CRM mobile.” It also tells you how long a project can sit idle before it closes on its own.
To open the app:
- Under Open projects, select the project you want to close. Each one shows its name, which of its apps are running, and when it was last active. A project where an AI agent is working shows Agent running, and the Builder selects a project without one first.
- Click Close project name and continue. Draftbit pauses every sandbox in the selected project and starts the one for the app you’re opening.
Closing a project works like a pause: its code and files stay as they are, and it starts again the next time someone opens it. An agent working in that project stops mid-task, so the Builder warns you before you close it. Check with your teammates before you close a project they might be using. You need the Editor role or higher to close another project.
You can also:
- Click Retry to refresh the list and try opening the app again, for example after another project pauses.
- Click Add a seat or upgrade to see plans and seats. Each added seat lets you keep one more project open.
- Click Go to Dashboard to leave without closing anything.
Sandbox status
Section titled “Sandbox status”The Sandbox Status menu shows whether the sandbox is up and how far along each part of your app is. Open it from More at the bottom of the Builder navigation. The colored dot on the icon matches the overall status. On your project page, each app’s card shows the same status as a label: Starting, Running, Unhealthy, or Stopped.
The top line shows the overall status:
| Status | Dot | Meaning |
|---|---|---|
| Started | Yellow | The sandbox is starting up. |
| Healthy | Green | The sandbox is running and ready. |
| Unhealthy | Red | The sandbox isn’t responding. Reload the Builder to restart it. If it stays red, ask for help from Get Help. |
| Stopped | Gray | The sandbox is paused or stopped. Opening the app restarts it. |
Below that, the menu lists four parts of your app, each shown twice. Saved is the version from your last save, and Working is your working build, which includes your unsaved changes. See Comparing Builds for more on the two versions.
| Item | What it tracks |
|---|---|
| Preview Server | The server that runs your app’s web preview. |
| Dependencies | Installing your app’s packages. |
| Project Files | Draftbit’s startup updates to your app’s project files. |
| Simulator Builds | The iOS and Android simulator builds. |
Each item shows one of four icons:
- A checkmark means it’s done or running.
- A spinner means it’s still in progress.
- An X means it failed. Check Logs for the error.
- A dash means it hasn’t started yet. The saved preview and its packages can wait until you need them, and Simulator Builds shows a dash until you start a build.
Fix a stuck or broken preview
Section titled “Fix a stuck or broken preview”If the status shows a failed or stuck item, try these in order:
- Click Restart Preview in the Builder navigation. It restarts the preview server without restarting the whole sandbox. If the preview has been starting for a long time, the button’s tooltip suggests this too.
- Open Logs and look for the first error. A package that failed to install or a syntax error usually shows up there.
- Ask the agent to fix the specific error you found, rather than asking it to “fix the preview.”
For more fixes, see Common Issues.