DaemonOptions

test-convex · /daemon·interface

Configuration for the persistent pnpm dev:convex daemon process managed by .

Properties

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'),
});

runDaemon

Sourcedaemon.ts:20Edit the JSDoc directly
Metadata@nordcom/commerce-test-convex@0.0.0Open in GitHub ↗

On this page