跳到內容

run

本頁內容尚未翻譯。

function run(
options: Options,
): Effect<
void,
| PlatformError
| ApplicationError
| SchemaError
| BadArgument
| ServiceConflict
| InvalidOperation
| StoreError
>

Defined in: Start.ts:66

Loads the entries of the config file and runs until interrupted. Plugin modules are imported through the hot reloader, so bare specifiers resolve from the application directory whether or not watch is on.

Parameter Type
options Options

Effect<void, | PlatformError | ApplicationError | SchemaError | BadArgument | ServiceConflict | InvalidOperation | StoreError>