DaemonOptions
●test-convex · /daemon·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'),
});