0.3.3 • Published 7 years ago

tvml-kit-livereload v0.3.3

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

TVML LiveReload

Build Status npm version Code Climate Issue Count Dependency Status devDependency Status

A simple livereload for TVML-based JavaScript-Apps on tvOS

NPM

Feel free to donate

Or donate Bitcoins: Bitcoin

Also via greenaddress

Installation

npm install tvml-kit-livereload --save-dev

Or if you want to use the development version (nightly build), which maybe not stable!:

npm install tvml-kit-livereload@next --save-dev

Usage

Mainly used for integration in other Tools, like Grunt or WebPack

var port = 9000;
var livereload = require('tvml-kit-livereload');
// start server
livereload.start(9000, function(io){
  // add reload function in app
  var updateAppJS = livereload.prepareApplicationJS(__dirname + '/application.js');
  write updated application.js back
  // bind reload, e.g. in WebPack or watch
  livereload.reload();
});

Thanks

Thanks to joshhunt. His project was base for this.

License

MIT, Copyright 2016 Martin Reinhardt

0.3.3-1

7 years ago

0.3.3-11

7 years ago

0.3.3-10

7 years ago

0.3.3

7 years ago

0.3.2-5

7 years ago

0.3.1-9

7 years ago

0.3.1-8

8 years ago

0.3.1-1

8 years ago

0.3.1-7

8 years ago

0.3.2-dev-4

8 years ago

0.3.1-6

8 years ago

0.3.1

8 years ago

0.3.1-dev-3

8 years ago

0.3.1-dev-2

8 years ago

0.3.0

8 years ago

0.3.0-5

8 years ago

0.3.0-4

8 years ago

0.3.0-2

8 years ago

0.3.0-1

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago