Skip to main content

dev

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

소스 정보

저장소
justrach/merjs
최근 소스 활동
2026년 3월 12일 03:58
감지된 SKILL.md 언어
영어
스타
357
포크
17

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
dev
description
Build and start the merjs dev server with hot reload. Use when the user wants to run, start, or serve the project.
disable-model-invocation
true
# Start merjs dev server ## Steps 1. Kill any existing process on port 3000: ```bash lsof -ti :3000 | xargs kill -9 2>/dev/null ``` 2. Regenerate routes (in case pages changed): ```bash zig build codegen ``` 3. Build the project: ```bash zig build ``` 4. Start the dev server in the background: ```bash ./zig-out/bin/merjs --port 3000 & ``` 5. Wait 2 seconds, then verify the server is listening: ```bash 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
GitHub에서 보기