Usage
Configuration
project.json
Options
Behavior
- Process supervision: Automatically restarts on crash (up to
maxRestarts) - Graceful shutdown: Handles SIGTERM for clean stops
- Not cacheable: Long-running process
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Start a supervised production server using frontmcp start
nx serve my-app
{
"targets": {
"serve": {
"executor": "@frontmcp/nx:serve",
"options": {
"entry": "{projectRoot}/src/main.ts",
"port": 3000
}
}
}
}
| Option | Type | Default | Description |
|---|---|---|---|
entry | string | — | Entry file path |
port | number | — | Port to listen on |
maxRestarts | number | 5 | Maximum number of automatic restarts |
maxRestarts)