phonegap / connect-phonegap

Stream a PhoneGap app to any device.
Apache License 2.0
61 stars 63 forks source link

fix autoreload callback loop #213

Closed ghost closed 4 years ago

ghost commented 4 years ago

puts the .reload() call inside the callback of postStatus(). otherwise the reload is called before the statechange of the postStatus() XHR request, creating a loop.

codecov[bot] commented 4 years ago

Codecov Report

Merging #213 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #213   +/-   ##
=======================================
  Coverage   88.95%   88.95%           
=======================================
  Files          24       24           
  Lines         498      498           
  Branches       91       91           
=======================================
  Hits          443      443           
  Misses         55       55

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 720ed8c...02f3456. Read the comment docs.