[Node.js] 데몬 실행 및 종료

nodemon 설치 (글로벌)

npm install nodemon -g

nodemon 실행

nodemon [실행 파일]

nodemon 중지 (windows)

tasklist | findstr "node"
// PID 번호 찾고
taskkill /f /pid [PID 번호]

nodemon 중지 (Linux)

ps aux | grep -i nodemon
// Process ID 찾고
kill -9 [Process ID]

답글 남기기

이메일 주소는 공개되지 않습니다.