Cell API
    Preparing search index...

    Class DevCommand

    cell dev: frontend and backend on one port with the development mode. The frontend has Vite's HMR, the backend reloads when one of its files changes, and a change of cell*.yml, package.json or cell.config.* restarts everything with a new toolchain. Runs until SIGINT/SIGTERM.

    Hierarchy (View Summary)

    Index
    arguments: string = ''

    Positional arguments for --help, e.g. get <key>; commands without them reject positionals.

    description: "Run the application for development: one port, frontend HMR, backend reload" = 'Run the application for development: one port, frontend HMR, backend reload'
    name: "dev" = 'dev'
    options: {
        host: { type: "string" };
        mode: { multiple: true; short: "m"; type: "string" };
        port: { short: "p"; type: "string" };
        preset: { type: "string" };
    } = ...

    Options of this command in addition to the common ones (--root, --json, --help).

    usage: string[] = ...

    One line per option for --help.

    • Resolves once on SIGINT or SIGTERM; returns the function that stops listening.

      Parameters

      • handler: () => void

      Returns () => void