Lingon Livereload

This enables livereload for lingon. Based on node-livereload.
Installation
Install with npm
$ npm install lingon-livereload --save-dev
Usage
Just include the module from your lingon.js
file and pass the lingon object to it. A basic setup could look like this:
#!/usr/bin/env node
var lingon = require('lingon'),
livereload = require('lingon-livereload');
livereload(lingon);
The <script>
tag that communicates with the livereload server will be automatically injected before the closing </body>
tag in your index.html
file.
Configuration
A config object can be passed as a second parameter, taking the same options as node-livereload does. Like so:
livereload(lingon, {
exts: ['scss', 'coffee']
});
Development
Gulp for building, linting and testing etc.
(optionally) Use autoversion gem to update semver version number.
$ autoversion patch
$ autoversion minor
$ autoversion major
Roadmap
Automatically inject the livereload browser script in index.html
Automatically add available file extensions from the source folder for livereload to watch for changes.
- Enable css to be injected live. The current integration doesn't support it.
License
Licensed under the MIT license.