snizu theme dev
Preview a theme on a development store as you edit it. Each save goes up as a draft version, and the page reloads when it's ready, or shows the problem with its file.
Usage
snizu theme dev [dir] --store <address> [--port 9292]Flags
--store<address>requiredA development store of your organization, by its address (siwa-grove-test), name or ID. Merchants' stores refuse previews.--portnumberThe local server's port on 127.0.0.1. 9292 by default.
The folder needs its theme.json, and to be linked to one of your themes: run snizu theme push once and it is.
What happens on save
- 1Settle300 ms after the last change, the folder is packed and sent.
- 2CheckOur servers scan it and run the same checks as a theme push, before the draft changes.
- 3ReloadCSS swaps in place; anything else reloads the page.
The draft keeps the version in theme.json and replaces itself each time, so iterating needs no new number. When that number already went to review, raise it.
A problem never leaves the store on nothing: the check runs before the draft is replaced, and what it found shows in the terminal and over the page, each with its file.
Examples
$ snizu theme dev ./nakhla --store siwa-grove-test
Sending the theme to the store…
✓ Previewing on Siwa Grove test at http://127.0.0.1:9292
Only you can see this, for as long as this runs. Ctrl+C to stop.
✓ Sent assets/theme.css
✓ Sent 3 filesWhen a save is refused, each problem prints after a ! and shows over the page until the next save that works.
The local address is in front of the store and answers only on 127.0.0.1. Links, forms and the cart work through it, and the store's password page is passed for you.
Was this page helpful?
Updated 25 Nov 2026