Skip to main content
Starts a development server with hot-reload (tsx --watch) and async type-checking. This is a long-running process.

Usage

nx dev my-app

Configuration

project.json
{
  "targets": {
    "dev": {
      "executor": "@frontmcp/nx:dev",
      "options": {
        "entry": "{projectRoot}/src/main.ts"
      }
    }
  }
}

Options

OptionTypeDescription
entrystringEntry file path
portnumberPort to listen on

Behavior

  • Hot reload: File changes trigger automatic restart
  • Type checking: Runs tsc --noEmit asynchronously in the background
  • Not cacheable: Long-running process, no Nx caching