livereloadify
Livereloadify takes a folder slaps livereload on top.
Last updated 5 years ago by asbjornenge .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install livereloadify 
SYNC missed versions from official npm registry.

Livereloadify

Livereloadify will start a livereload server and emit changes to files in a given folder.

Combined with some other great tools like watchify and node-static it can create an efficient development environment, without the need for a task runner besides npm.

Example npm scripts section:

"scripts": {
  "start": "npm run watch & npm run livereload & npm run static",
  "watch": "watchify app/app.js -o app/bundle.js",
  "livereload": "livereloadify app",
  "static": "static app"
}

Install

npm install -g livereloadify

Use

livereloadify /path/to/folder

CLI Options

--lrport    // Livereload port    (default 35729)
--glob      // Glob pattern       (default *.*)

API

var lify = require('livereloadify')
lify(<folder>,<glob>,<port>).start()

Changelog

2.0.0

  • Added glob pattern as parameter

1.0.0

  • Initial release :tada:

enjoy

Current Tags

  • 2.0.0                                ...           latest (5 years ago)

2 Versions

  • 2.0.0                                ...           5 years ago
  • 1.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (4)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |