npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

instant-server

1.2.0 • Public • Published

instant(1)

Spawn a http server in the current directory that instantly notifies all connected devices as soon as a HTML, CSS, or JavaScript file is modified.

screenshot

Installation

$ npm install -g instant-server

Usage

$ instant <port>

If the port is omitted a free random port is used and http://localhost:<random-port> is opened in the default browser.

Options

  • -q | --quiet: Hide listening message. If no port is provided, the port will be displayed.

Features

  • Supports all major browsers including Android 2 and IE6
  • No browser plugin required
  • No need to add extra script tags to your HTML pages
  • Incremental CSS updates (no page reload)
  • Uses the instant middleware under the hood

License

MIT

install

npm i instant-server

Downloadsweekly downloads

17

version

1.2.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability