Now we're ready to run the application. First do this to ensure that the socket.IO library is installed, because of the dependency added in
$ npm install
Then run the application as before:
$ node app.js
Then you will be greeted with the familiar home page:
You will be able to log in as normal:
And you can take the application through its normal paces. The new behavior shows itself when you have multiple browsers connected to the application.
When viewing the home page in one browser, ...