node로 작업하다보면 결과값이 어떻게 나오는지 확인할 때,
node .\test.js 이런식으로 터미널에 쳐서 확인을 한다.
작업할 때마다 매번 저렇게 확인하는 것도 귀찮기도하고..
저장할 때마다 라이브로 확인하고 싶을 때 nodemon을 사용한다.
설치할 때는 터미널에 npm i -g nodemon 해서 설치하면 된다.
npm i -g nodemon
그럼 전역적으로 nodemon이 설치된다.
실시간 작업 확인화면
nodemon 홈페이지
nodemon
nodemon reload, automatically. Nodemon is a utility that will monitor for any changes in your source and automatically restart your server. Perfect for development. Install it using npm. Just use nodemon instead of node to run your code, and now your proce
nodemon.io
'BLOG > JavaScript' 카테고리의 다른 글
[node.js] Set 과 has (0) | 2020.01.09 |
---|---|
[node.js] 오브젝트 병합 assign vs spread (1) | 2020.01.09 |
[node.js] Event Loop 기초 (0) | 2020.01.07 |
[node.js] node.js 시작 (0) | 2020.01.06 |
자바스크립트 프레임워크, 플러그인 소개 및 사이트 모음 (0) | 2019.07.12 |