A simple development server
Allows for serving static sites from the public/
subfolder of the current working directory, and responding to requests without the html extension.
-
Install -
npm install -g htmlsrv
-
Start -
htmlsrv
You can override the default folder name & port number with SRV=dist PORT=3000 htmlsrv