burkeen / instant-server

Instant HTTP server with live-reload

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Instant HTTP server with live-reload