Skip to content

Hot Reload

Coming Soon — Built-in hot reload is not yet implemented.

Hot reload automatically restarts your application when source code changes.

Current Alternative

Use air for live reloading:

# Install air
go install github.com/cosmtrek/air@latest

# Create .air.toml configuration
cat > .air.toml << 'EOF'
[build]
  cmd = "go build -o ./tmp/main ."
  bin = "./tmp/main"
  watch_dir = "."
  watch_ext = ["go"]
  delay = 1000
EOF

# Run with hot reload
air

Status

Feature Status
File watching ⏳ Planned
Auto-restart ⏳ Planned
Selective rebuild ⏳ Planned

Tip

Use air or fresh as a development tool until built-in hot reload is implemented.