2.0.0 • Published 9 years ago

livereloadify v2.0.0

Weekly downloads
45
License
BSD
Repository
github
Last release
9 years ago

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

2.0.0

9 years ago

1.0.0

10 years ago