Skip to main content
Copy a static build into a microVM, expose it on host loopback, and let the sandbox expire automatically. The preview cannot modify the host build or make outbound network requests.

Run the preview

1

Start the preview

Run this after producing dist:
Detached runs return before the server is ready. Wait for it, then open the preview:
Open the preview after the readiness check succeeds:
On Linux, replace open with xdg-open, or visit the URL manually.--copy-dir gives the guest its own copy of dist. Use a unique sandbox name and host port for each concurrent pull request.
Loopback is not authentication: other processes on the host can reach the preview. Browser JavaScript is also outside the guest network policy, so review untrusted builds with a disposable browser profile.
2

Clean up

--max-duration 30m still removes an abandoned preview when explicit cleanup does not run.