@hyperfrontend/features/nx/executors/serve

serve

Nx serve executor. A long-running async-iterator executor that starts the hyperfrontend dev server by delegating to the SDK's headless hf dev, stays alive until a shutdown signal, then closes the servers gracefully. Registered via the package's executors.json.

Usage

{
  "targets": {
    "serve": {
      "executor": "@hyperfrontend/features:serve",
      "options": { "config": "./hf-dev.config.json" }
    }
  }
}
OptionRequiredDescription
confignoPath to the dev-server config object.
appsnoPath to the dev-server apps array.
portnoPort the dev server's debug UI listens on.

API Reference

Variables

§type

default

Serve a hyperfrontend feature dev server by delegating to the SDK's hf dev.
Long-running async-iterator executor: it starts the dev server, yields the startup result, stays alive until a shutdown signal, then closes the servers.