@hyperfrontend/features/nx/executors/serveserve
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. Despite the shared name, this executor is the
development-time surface (it wraps hf dev), distinct from the hf serve CLI
command, which is the production static server.
Usage
{
"targets": {
"serve": {
"executor": "@hyperfrontend/features:serve",
"options": { "config": "./hf-dev.config.json" }
}
}
}
API Reference§
◈ Interfaces
Options for the
serve executor; mirrors schema.json.Properties
● Variables
Serve a hyperfrontend feature dev server by delegating to the SDK's
Long-running async-iterator executor: it starts the dev server, yields the startup result, stays alive until a shutdown signal, then closes the servers.
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.