Neurotoxin Powered Marketing
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

dev-server

0.1.0 • Public • Published

dev-server

Serving static files and directory indexes for you

Install

$ npm install dev-server -g

Run

$ =4000 DEV_SERVER_ROOT=. dev-server

Environment Variables

  • DEV_SERVER_PORT — port to listen, default 4000
  • DEV_SERVER_ROOT — root directory

Special files

File dev-server-hooks.js or .dev-server-hooks.js is loaded on start and called with express app instance

Keywords

none

Install

npm i dev-server

DownloadsWeekly Downloads

119

Version

0.1.0

License

ISC

Unpacked Size

62.1 kB

Total Files

13

Last publish

Collaborators

  • avatar