tradie-plugin-livereload
v1.0.0
Published
A live-reload plugin for tradie.
Downloads
52
Maintainers
Readme
tradie-plugin-livereload
A tradie
plugin for livereloading while building+watching.
Installation
npm --save-dev tradie-plugin-livereload
You'll also need to install one of these browser extensions, or add the livereload snippet to your HTML.
Usage
Configure tradie.config.js
:
var livereload = require('tradie-plugin-livereload').default;
module.exports = {
plugins: [livereload()]
};
Run tradie build --watch
Troubleshooting
Note, the livereload
browser extensions have limitations with file://
URLs.