> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# dev

> Run your NanoForge project in development mode

## Overview

`nf dev` runs your NanoForge project in development mode. It is the command you keep open while
working - it serves the game and reacts to changes.

## Usage

```bash theme={null}
nf dev
```

## Options

| Option                        | Description                                                                                |
| ----------------------------- | ------------------------------------------------------------------------------------------ |
| `-d, --directory <directory>` | Working directory of the command.                                                          |
| `-c, --config <config>`       | Path to the configuration file.                                                            |
| `--generate`                  | Generate app files from config in dev mode, like the `generate` command. Default: `false`. |

## Examples

**Standard dev run:**

```bash theme={null}
nf dev
```

**Regenerate files from config while developing:**

```bash theme={null}
nf dev --generate
```
