🗄️ Databases & Backend

Turso 때문에 nodemon 좀비 프로세스 폭발: 개발자라면 무시 못 할 소켓 함정

저장 누르는 순간 새 라우트가 404 블랙홀로 증발. 원흉은 Turso의 날쌘 소켓이 nodemon 재시작을 몰래 방해하는 거였다.

nodemon EADDRINUSE 에러와 Turso 소켓 수정 코드가 뜬 터미널

⚡ Key Takeaways

  • Turso 지속 소켓이 Node 프로세스 종료 막아 nodemon 재시작 방해.
  • 20줄 신호 핸들러로 해결: DB와 서버 닫고 process.exit(0).
  • 좀비 남았나? 포트 수동 킬; 프로덕션 배포에도 문제없음.
Published by

DevTools Feed

Ship faster. Build smarter.

Worth sharing?

Get the best Developer Tools stories of the week in your inbox — no noise, no spam.

Originally reported by dev.to

Stay in the loop

The week's most important stories from DevTools Feed, delivered once a week.