Skip to content

Pass tiny-lr options into client to set reload flags#18

Merged
mklabs merged 1 commit into
mklabs:masterfrom
mrspeaker:master
Sep 24, 2013
Merged

Pass tiny-lr options into client to set reload flags#18
mklabs merged 1 commit into
mklabs:masterfrom
mrspeaker:master

Conversation

@mrspeaker

Copy link
Copy Markdown
Contributor

The motivation behind this patch is to add the liveImg flag, which is needed when you are using images in canvas or webGL. By default, livereload with liveImg=true will only re-set the src of an image - not reload the whole page, which is not useful if you are creating images dynamically and using them in a different context. Though having flags for liveJs and liveCss seems like a good idea too.

@mklabs

mklabs commented Sep 24, 2013

Copy link
Copy Markdown
Owner

Sounds legit. Sorry for the delay.

I was about to say "Can you add some documentations to the readme for these options" before noticing there is really no documentation at all on options :/

Merging, thanks @mrspeaker

mklabs added a commit that referenced this pull request Sep 24, 2013
Pass tiny-lr options into client to set reload flags
@mklabs
mklabs merged commit 8951f20 into mklabs:master Sep 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants