오윤석

nodemon 설치

...@@ -37,7 +37,7 @@ services: ...@@ -37,7 +37,7 @@ services:
37 volumes: 37 volumes:
38 - ./node:/app 38 - ./node:/app
39 - ./config:/app/config 39 - ./config:/app/config
40 - command: bash -c "npm install && node app.js" 40 + command: bash -c "npm install && node_modules/.bin/nodemon app.js"
41 environment: 41 environment:
42 - NODE_ENV=production 42 - NODE_ENV=production
43 restart: on-failure 43 restart: on-failure
......
This diff is collapsed. Click to expand it.
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
10 "license": "ISC", 10 "license": "ISC",
11 "dependencies": { 11 "dependencies": {
12 "express": "^4.17.1", 12 "express": "^4.17.1",
13 - "http": "0.0.1-security" 13 + "http": "0.0.1-security",
14 + "nodemon": "^2.0.4"
14 } 15 }
15 } 16 }
......