live-reload
A live reload server & client
Last updated 10 years ago by raynos .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install live-reload 
SYNC missed versions from official npm registry.

live-reload

A live reload server & client

Docs

Usage:

  live-reload [<path>...] --port=somePort --delay=someDelay

    Runs a live-reload server on the port. It listens to changes
        on one or more paths and sends reload commands to any 
        browser connected to it.

    If a delay is set then it will send the command once the
        file has changed and the delay has elapsed. This is
        useful if your changing many files at once and only
        want to reload say 1s after all files have been written
        to disk.

    To connect a browser to a live-reload server simply add
        <script src="localhost:somePort"></script> to your page

Installation

npm install live-reload

Contributors

  • Raynos

MIT Licenced

Current Tags

  • 1.1.1                                ...           latest (3 years ago)

7 Versions

  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
  • 0.2.0                                ...           12 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
  • 0.0.1                                ...           12 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (7)
Dev Dependencies (0)
None
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |