jaxbot / browserlink.vim

Live browser editing for Vim
MIT License
711 stars 38 forks source link

Only reload visible tabs/pages. #25

Closed MaienM closed 10 years ago

MaienM commented 10 years ago

This so that hidden tabs/windows will not be reloaded needlessly. This uses the visibility API, so a non-focused but still visible page will be reloaded as expected. Additionally, pages do remember their pending reloads, so when you switch to a tab/page that should have been reloaded it will do so immediately.

jaxbot commented 10 years ago

Wow, awesome! Thank you. I'll give this a try once I get home tonight