Hi Ashley,
I think we probably need to make the following 2 changes to get the db-fixture-rest-api live-reloading working.
- In
db-fixture-rest-api/package.json
"scripts": {
- "start": "nodemon --legacy-watch --watch \"fixtures/**/*\" ./src/index.js",
+ "start": "nodemon --legacy-watch --watch \"fixtures/**/*\" --watch ./src/index.js --delay 5 ./src/index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
- In
docker-compose.yml
volumes:
- ./fixtures:/usr/src/app/fixtures:z
+ - ./db-fixture-rest-api/src:/usr/src/app/src:z
Hi Ashley,
I think we probably need to make the following 2 changes to get the db-fixture-rest-api live-reloading working.
db-fixture-rest-api/package.json"scripts": { - "start": "nodemon --legacy-watch --watch \"fixtures/**/*\" ./src/index.js", + "start": "nodemon --legacy-watch --watch \"fixtures/**/*\" --watch ./src/index.js --delay 5 ./src/index.js", "test": "echo \"Error: no test specified\" && exit 1" },docker-compose.ymlvolumes: - ./fixtures:/usr/src/app/fixtures:z + - ./db-fixture-rest-api/src:/usr/src/app/src:z