node package manager

pugserver

Pug Server

Basic pug file server. Ideal for building local prototypes apart from any application. All other files are served statically as they usually would.

installation

npm install -g pugserver

create a folder

+ myfolder/
  - index.pug
  - example.css
  - example.js

usage

cd myfolder
pugserver .

open your browser to http://localhost:8080/index.pug