Command line Livereload server for use with the LiveReload Chrome browser extension.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
tests/unit/lib
.gitignore
README.md
index.js
package.json
usage.txt

README.md

lr-server

Command line Livereload server for use with the LiveReload Chrome browser extension.

Usage

  • lr-server src/js/**/*.js src/css/**/*.css --port 35729
  • At least one path argument must be specified.
  • Use --port or -p to specify port for the livereload server (default 35729).
  • Use --host or -o to specify the host for the livereload server (default 127.0.0.1).
  • Use --debounce or -d to specify delay for events called in succession for same file (default 500 milliseconds).
  • Use --reload-delay or -r to specify delay between file events and Livereload being called (default 0 milliseconds).
  • Use --interval or -i to specify file watch interval (default 1000 milliseconds).
  • Use --quiet or -q to specify that no console logging should be used for file events.