Since the tutorial describes doing things either in the browser or in node, it doesn't make sense to advocate using python -m SimpleHTTPServer. Instead it makes more sense to tell people to run npm install -g http-server and to then use the much simple http-server command to fire up a localhost instance on port 8080 in whatever directory they run it in.
Since the tutorial describes doing things either in the browser or in node, it doesn't make sense to advocate using
python -m SimpleHTTPServer. Instead it makes more sense to tell people to runnpm install -g http-serverand to then use the much simplehttp-servercommand to fire up a localhost instance on port 8080 in whatever directory they run it in.