Skip to content

Instantly share code, notes, and snippets.

@jimelj
jimelj / installing-live-server.md
Created November 2, 2017 15:56 — forked from donmccurdy/installing-live-server.md
Installing Node.js live-server

Installing Node.js live-server

The NodeJS live-server package runs a temporary server displaying any HTML/CSS/JS resources in the current folder. It automatically reloads the page in your browser when any of these files change.

OS X

  • Verify that Node.js is installed. If you see anything when you run which npm in a terminal, it is. If not, follow the instructions at nodejs.org to install.
  • Install live-server: npm install -g live-server
  • Move your terminal to where your pages live: cd <path-to-content>
  • Start the server: live-server .
@jimelj
jimelj / npm-list-globally.md
Created July 6, 2017 01:05 — forked from brenopolanski/npm-list-globally.md
Listing globally installed NPM packages and version
npm list -g --depth=0