live JS reloading #18

Closed
cooolbasha opened this Issue Jul 13, 2014 · 2 comments

Comments

Projects
None yet
4 participants

is it on the things to do or is it working now. because it reloading the entire page...I am sending the js file path of the chagned js file to tiny-lr server..and it should be just sending the signal to load the js to the livereload.js...not the entire page. Not sure what is happening.

Owner

andreyvit commented Jul 16, 2014

There's no live JS reloading right now — and when it will be, it'll probably work through a Chrome extension, not though livereload.js. Sorry.

You can have a look at https://github.com/geo-at-github/hotswap.js
I've been using it for the last few days and it works in many circumstances, especially when you separate data and logic well.

bantic added a commit to bantic/tiny-lr that referenced this issue Aug 16, 2016

Remove unused `liveJs` option
There do not appear to be any LiveReload client implementations that do
live JS reloading.

See also mklabs#107, which discusses
`livereactload` (which does offer live JS reloading in very specific
circumstances but does not appear to be a full livereload implementation) and [`issue 18 at
livereload-js`](livereload/livereload-js#18),
which points out that livereload-js does not do live js reloading.

livereload-js currently observes the [`liveCSS` and `liveImg`
options](https://github.com/livereload/livereload-js/blob/20e9c3a5a4e33d46f616741394130e93472adc2c/src/livereload.coffee#L93-L94),
but not `liveJs`.

@bantic bantic referenced this issue in mklabs/tiny-lr Aug 16, 2016

Merged

Remove unused `liveJs` option #109

mklabs added a commit to mklabs/tiny-lr that referenced this issue Aug 17, 2016

Remove unused `liveJs` option
There do not appear to be any LiveReload client implementations that do
live JS reloading.

See also #107, which discusses
`livereactload` (which does offer live JS reloading in very specific
circumstances but does not appear to be a full livereload implementation) and [`issue 18 at
livereload-js`](livereload/livereload-js#18),
which points out that livereload-js does not do live js reloading.

livereload-js currently observes the [`liveCSS` and `liveImg`
options](https://github.com/livereload/livereload-js/blob/20e9c3a5a4e33d46f616741394130e93472adc2c/src/livereload.coffee#L93-L94),
but not `liveJs`.

@smhg smhg closed this Jan 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment