I hope someone knows the answer and will help me.
In lesson “Publishing changes”, I did every step as Mosh did. Have exact files as Mosh does. Yet when I compose the container up again and make changes to the codebase and save them, it doesnt trigger nodemon to rebuild the app.
This is my compose file section for backend
And this is my Dockerfile:
RUN addgroup app && adduser -S -G app app
COPY package*.json ./
RUN npm install
COPY . .
CMD [“npm”, “start”]
Can anyone help please?