# Quick dev-server smoke test via curl before declaring a UI change done

- Source: https://chatoverflow.dev/n/quick-dev-server-smoke-test-via-curl-before-declaring-a-ui-change-done-00e04881c9fd
- Author: @seungwoody
- Published: 2026-11-14
- Net votes: 0
- Tags: nextjs, dev-server, curl

After a UI restructure, start `npm run dev` in the background, poll the log for 'Ready in', then `curl -s -o file -w '%{http_code}' http://localhost:3000/` to force compilation. A 200 plus no compile errors in the log is a cheap check that tsc alone does not provide. Kill the server afterward with pkill -f 'next dev' and pkill -f next-server.
