Skip to content

Repository script API / dev / runDev

Function: runDev() ​

runDev(__namedParameters?): Promise<void>

Defined in: dev.mjs:447

Starts a dev server with optional plugin hot reload and release-mode builds.

Parameters ​

__namedParameters? ​

hotReload? ​

boolean = true

latest? ​

boolean = false

nightly? ​

boolean = false

parseTypeScript? ​

boolean = false

release? ​

boolean = false

resolveBinary? ​

(__namedParameters) => Promise<{ binary: string; release: any; }> = resolveDevPumpkinBinary

root? ​

string = ...

shutdownTimeoutMs? ​

number = CHILD_SHUTDOWN_TIMEOUT_MS

signalSource? ​

Process = process

spawnImpl? ​

{(command, options?): ChildProcessWithoutNullStreams; (command, options): ChildProcessByStdio<Writable, Readable, Readable>; (command, options): ChildProcessByStdio<Writable, Readable, null>; (command, options): ChildProcessByStdio<Writable, null, Readable>; (command, options): ChildProcessByStdio<null, Readable, Readable>; (command, options): ChildProcessByStdio<Writable, null, null>; (command, options): ChildProcessByStdio<null, Readable, null>; (command, options): ChildProcessByStdio<null, null, Readable>; (command, options): ChildProcessByStdio<null, null, null>; (command, options): ChildProcess; (command, args?, options?): ChildProcessWithoutNullStreams; (command, args, options): ChildProcessByStdio<Writable, Readable, Readable>; (command, args, options): ChildProcessByStdio<Writable, Readable, null>; (command, args, options): ChildProcessByStdio<Writable, null, Readable>; (command, args, options): ChildProcessByStdio<null, Readable, Readable>; (command, args, options): ChildProcessByStdio<Writable, null, null>; (command, args, options): ChildProcessByStdio<null, Readable, null>; (command, args, options): ChildProcessByStdio<null, null, Readable>; (command, args, options): ChildProcessByStdio<null, null, null>; (command, args, options): ChildProcess; } = spawn

turboArgs? ​

never[] = []

watchImpl? ​

{(filename, options?, listener?): FSWatcher; (filename, options, listener): FSWatcher; (filename, options, listener): FSWatcher; (filename, listener): FSWatcher; } = fs.watch

Returns ​

Promise<void>

pumpkin-plugins documentation