My containers aren’t picking up changes to either index.html in frontend or index.js in backend; logs to each container show nothing. Neither did my sharing of volumes in the previous phase work. I can copy the files to the container, but that’s not using the efficiency of docker. I was picking up a permission error on a previous build. But on a forced rebuild I’ve no indication of problems. The web port 3000 and the api port route 3001/api are presenting just as they are in the videos. The nodemon is functioning at time of build.
api_1 | [nodemon] 2.0.7
api_1 | [nodemon] to restart at any time, enter rs
api_1 | [nodemon] watching path(s): .
api_1 | [nodemon] watching extensions: js,mjs,json
api_1 | [nodemon] starting node index.js
api_1 | Server started on port 3001…
Any ideas?
I can’t seem to remove this post of mine so I’ll say that I’ve solved the volume sharing issues by installing Ubuntu directly on to Window 10’s WSL and, so I’m running Ubuntu from either the Ubuntu bash or, more often, the windows’ terminal bash, which is the same thing really.
1 Like