Skip to main content
Run any Skill in Manus
with one click

nextjs-hmr-proactive-restart

Stars2
Forks0
UpdatedMay 25, 2026 at 02:46

在 Next.js 项目里跑 dev server 时,做 >3 文件批量编辑 / 改 middleware / 改 server component (page.jsx/layout.jsx/API route) / 加新依赖 / 加新路由 / 改 NEXT_PUBLIC_ env 后,主动 nuke .next + 重启 dev,不依赖 HMR。Use when: working in a Next.js codebase running `npm run dev` and any of the above triggers fire.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly