Creates a new Server builder instance.
The service container to manage dependencies.
Builds the application.
The incoming event.
Runs the application in the console.
The incoming event.
Starts the development server.
The incoming event.
Optionalrestart: boolean
Whether to restart the server.
Exports server files.
The incoming event.
Previews the application.
The incoming event.
Watch the application sources and invoke cb (debounced) on every change.
Only the source root (derived from stone.builder.input.all) and the project's config
files are watched — not the whole working tree — so a README or .git/ write never triggers
a rebuild. Rapid successive saves are coalesced through a small debounce window so a single
multi-file save produces one rebuild instead of a burst.
Called with the triggering file path and its change count.
The Server builder class.