snizu app dev
Run your app's draft on a development store with its embeds switched on, and do it again every time you save.
Usage
snizu app dev [dir] --store <address> [--theme <handle>] [--port 9292] [--once] [--json]Flags
--store<address>requiredOne of your organization's development stores, by its address (siwa-grove-testorsiwa-grove-test.snizu.app), name or ID. Merchants' stores never run drafts.--themehandleA Theme Store theme to make live on the store first, to see your embeds in it. The store's own live theme by default.--portnumberThe local address's port on 127.0.0.1. 9292 by default.--onceflagDo it once and stop, printing where it runs.--jsonflagWith--once, print one line of JSON for scripts:url,password,theme,versionandembeds.
What happens on save
- 1Build300 ms after the last change,
npm run buildruns, when package.json has a build script. - 2DraftThe version in snizu.app.json becomes a draft, or updates the draft with that number.
- 3TryThe draft goes on the store with its embeds on in the live theme, and the page reloads.
Hidden files, node_modules, dist, report, test-results and playwright-report never start it again. With a build, snizu.app.json is the build's output, so a change to it starts nothing either; without one, it's the file you edit.
The store is a development store your organization owns, so it behaves exactly as a merchant's will. The local address shows it through 127.0.0.1 only: the preview is yours, and a page that tries to reach it under another name is turned away.
Examples
$ snizu app dev --store siwa-grove-test
Sending the app to Siwa Grove test…
✓ 0.1.0 runs on Siwa Grove test (Nour) at http://127.0.0.1:9292
The store's password page takes: tadra-mafi
Embeds on: gift-wrap-note. Ctrl+C to stop.
✓ Sent 0.1.0An app with a build script says "Building and sending" instead, and runs it first every time.
A refused manifest or a failed build shows in the terminal and over the page, one problem a line, and the loop keeps running so the next save can fix it.
Was this page helpful?
Updated 25 Nov 2026