local.dev

Monitor and manage your local development servers.

Overview

Track the health and status of all your local services.

Dashboard

Access LocalServers to view:

  • Running services
  • Health status
  • Resource usage
  • Logs

Server Status

StatusDescription
RunningService is healthy
WarningService has issues
StoppedService not running
UnknownCannot determine status

Health Checks

Configure health checks for your services:

services:
  my-app:
    healthcheck:
      endpoint: /health
      interval: 30s
      timeout: 5s
      retries: 3

Check Types

  • HTTP - Request to endpoint
  • TCP - Port connectivity
  • Command - Execute command

Logging

View Logs

# Stream logs
local logs my-app --follow

# Last 100 lines
local logs my-app --tail 100

Log Levels

LevelDescription
DEBUGDetailed information
INFOGeneral information
WARNWarning messages
ERRORError messages

Resource Monitoring

Track resource usage:

  • CPU - Processor utilization
  • Memory - RAM usage
  • Disk - Storage consumption
  • Network - Bandwidth usage

Starting/Stopping Services

Via Dashboard

  1. Navigate to the server
  2. Click Start or Stop

Via CLI

# Start service
local start my-app

# Stop service
local stop my-app

# Restart service
local restart my-app

Alerting

Set up alerts for service issues:

  • Email notifications
  • Slack integration
  • Webhook callbacks

On this page