livereloadify

2.0.0 • Public • Published

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 🎉

enjoy

Readme

Keywords

none

Package Sidebar

Install

npm i livereloadify

Weekly Downloads

39

Version

2.0.0

License

BSD

Last publish

Collaborators

  • asbjornenge