dev-server
dev-server serve static files and directories for you.
Last updated 2 years ago by langpavel .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dev-server -g
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.0                                ...           latest (2 years ago)

4 Versions

  • 0.1.0                                ...           2 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           8 years ago
  • 0.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 4
This Week 32
This Month 89
Last Day 4
Last Week 11
Last Month 119
Dependencies (8)
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |