# Nodemon μ‚¬μš©ν•˜κΈ°

# nodemon 라이브러리

μˆ˜μ •μ‚¬ν•­μ΄ μžˆμ„ λ•Œλ§ˆλ‹€ serverλ₯Ό 껐닀 μΌœλŠ” μž‘μ—…μ—†μ΄ μžλ™μ μœΌλ‘œ server에 λ°˜μ˜ν•΄μ£ΌλŠ” 라이브러리

npm install -g nodemon
yarn add global nodemon
1
2

# nodemon μ„œλ²„ μ‹€ν–‰ν•˜κΈ°

nodemone server.js
1

μ‹€ν–‰ ν›„ μ•„λž˜μ™€ 같이 뜨면 μ„±κ³΅μ μœΌλ‘œ nodemon μ„€μΉ˜ 및 μ‹€ν–‰λœ 것이닀.

> nodemon server.js
[nodemon] 2.0.13
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): *.*
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node server.js`
listening on 8080
1
2
3
4
5
6
7
Last Updated: 2022. 6. 5. μ˜€ν›„ 3:42:39