@jamen/reload-server

Dev server that reloads from streamed events.

Stats

StarsIssuesVersionUpdatedCreatedSize
@jamen/reload-server
2.0.04 years ago4 years agoMinified + gzip package size for @jamen/reload-server in KB

Readme

reload-server

Dev server that reloads from streamed events.

example

Install

$ npm i -D @jamen/reload-server

Usage

reload-server [entry]

Start a static server at entry (defaults to cwd).

$ reloader | reload-server [entry]

The reloader is any command which streams newline-delimited events. Like @jamen/watch-exec:

$ watch-exec --watch "src/*.*" "make" | reload-server srv

The server can be configured through the environment variables:

  • RELOAD_ADDRESS
  • RELOAD_PORT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.