sudo npm install supervisor -g
<node 파일명> 이 아닌
<supervisor 파일명> 으로 실행
supervisor app.js
https://gofnrk.tistory.com/100
Node.js 재시작 없이 반영, 자동 재시작 (Supervisor)
바로 본론으로 들어갈게요. Supervisor(슈퍼바이저) 설치 npm install supervisor -g 원래 node app.js 요렇게 실행을 시켰죠. Supervisor를 설치해서 사용할 때는 supervisor app.js 요렇게 Node를 실행해주면 됩..
gofnrk.tistory.com
'javascript > Node.js' 카테고리의 다른 글
[Express 모듈] 기본적인 로그인 구현 (0) | 2020.08.14 |
---|---|
[Express 모듈] Express 앱에서 사용할 미들웨어 작성 (0) | 2020.08.14 |
Node.js HTTP 모듈 (3: 데이터 추출과 쿠키 추출) (0) | 2020.08.13 |
Node.js HTTP 모듈 (2: url.parse) (0) | 2020.08.13 |
Node.js HTTP 모듈 (1: createServer) (0) | 2020.08.12 |
댓글