DaemonOptions
●test-convex · /index·interface
Configuration for the persistent pnpm dev:convex daemon process managed by .
Properties
PROPTYPEDESCRIPTION
adminKeyFile
string
Path the daemon writes the admin key to, for privileged operations.
dataDir
string
Directory the backend persists its data to between restarts.
pidFile
string
Path the daemon writes its own PID to, for later ``stop``.
port
number
Fixed port the deployment listens on.
urlFile
string
Path the daemon writes the deployment URL to, for client discovery.
Example
await runDaemon({
dataDir: resolve('.convex-dev'),
port: 3210,
pidFile: resolve('.convex-dev', '.pid'),
urlFile: resolve('.convex-dev', '.url'),
adminKeyFile: resolve('.convex-dev', '.admin-key'),
});Related
runCli runDaemon SeedClerkOperatorOptions SeedCmsOptions SeedCanonicalOptions SeedClerkOperatorView SeedShopOptions seedCanonical
createUnitConvex
Builds the convextest harness for the fast, hermetic unit tier: a fully inmemory backend that never spawns a real deployment or touches the network. The convext
resolveConvexProjectDir
Resolves the Convex project directory (the one holding convex.json and the convex/ functions) the local backend pushes. Honors CONVEXPROJECTDIR for overrides; o