Skip to main content

fidelity-kit serve

fidelity-kit serve​

Serve the viewer for a results directory (lazy ETags and shared-cache headers)

Usage​

fidelity-kit serve <root> [--port <port>] [--host <host>] [--max-age <max-age>] [--stale-while-revalidate <stale-while-revalidate>] [--concurrency <concurrency>] [--process]
ArgumentTypeRequiredDescription
rootstringYesSuite results directory (contains fidelity.json)
FlagTypeRequiredDescription
--portnumberNoPort to listen on (default: first open port from 3000)
--hoststringNoInterface to bind (0.0.0.0 for all); Default: localhost
--max-agenumberNoSeconds images are cached (browsers and CDNs) without revalidation; Default: 300
--stale-while-revalidatenumberNoSeconds a stale image may be served while it refreshes in the background; Default: 86400
--concurrencynumberNoImage pairs compared in parallel (default: CPU count)
--processbooleanNoRefresh stale metrics/deltas before serving; Default: true