Start merjs dev server

SkillDev tools

Build and start the merjs dev server with hot reload. Use when the user wants to run, start, or serve the project.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Start merjs dev server skill

What this skill tells your AI

The instructions your AI receives, as published by justrach/merjs in .claude/skills/dev/SKILL.md and read by ahel’s review.

Steps

  1. Kill any existing process on port 3000:

    lsof -ti :3000 | xargs kill -9 2>/dev/null
    
  2. Regenerate routes (in case pages changed):

    zig build codegen
    
  3. Build the project:

    zig build
    
  4. Start the dev server in the background:

    ./zig-out/bin/merjs --port 3000 &
    
  5. Wait 2 seconds, then verify the server is listening:

    lsof -i :3000 -sTCP:LISTEN
    
  6. Tell the user the server is running at http://localhost:3000

Flags

  • --port N — listen on a different port
  • --no-dev — disable hot reload (SSE watcher)
  • --prerender — pre-render SSG pages to dist/ and exit

Signals

GitHub stars
354
Forks
17
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
dev-justrach
Source
github.com/justrach/merjs