Nepotistic Pontifex Maximus
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

instant-server

1.0.1 • 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.

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

16

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability