I am confused about the part of the video (at time 5:05) where he says that we run node against the lab files, and node will load those up and sit there, waiting for a request. I don’t understand what part of the lab this correlates to. Which command or action did we do that was us running nodes against the lab files?
We ran the node and nodemon commands against the files in the lab that went over the Cloud Shell which was the previous video. The nodemon command is what ran to have node detect changes to the files and then serve the updated file when we reloaded the site again.
My guess is that he simply meant running the node command on the hello.js file -> ‘node hello.js’. This command loads the java script file and gives us the port number through which we can access it.