1.0.2 • Published 9 years ago
livereloadify-script v1.0.2
livereloadify-script 
Browserify plugin, aims to inject a LiveReload script into your js bundle.
Quick Example
$ browserify app.js -o app.bundle.js -p [ livereloadify-script ]It should have injected this script line in your html:
<script src="//localhost:35729/livereload.js?snipver=1"></script>Usage
Use as a browserify plugin:
$ browserify app.js -o app.bundle.js -p [ livereloadify-script --port 37687 ]Options
host: (defaultlocalhost) is the address of the LiveReload server.local: (defaultfalse) true if you wanna use your local ip address automatically, it will take over the host option unless no ip are found.port: (default35729) on which the livereload server has been configured.
Testing
To run the test suite, first install the dependencies, then run npm test:
$ npm install
$ npm test