phonegap-soundwave
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -21,3 +21,3 @@ /*! | ||
var outdated = false, | ||
watches = [ path.join(process.cwd(), 'www/*') ]; | ||
watches = [ path.join(process.cwd(), 'www/**/*') ]; | ||
@@ -24,0 +24,0 @@ // optional options parameter |
{ | ||
"name": "phonegap-soundwave", | ||
"description": "Connect middleware to stream a PhoneGap app.", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"homepage": "https://github.com/phonegap/node-phonegap-soundwave", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -13,4 +13,6 @@ <script type="text/javascript"> | ||
if (this.readyState === 4 && /^[2]/.test(this.status)) { | ||
var reload = JSON.parse(this.responseText).reload; | ||
if (reload) window.location.reload(); | ||
var response = JSON.parse(this.responseText); | ||
if (response.outdated) { | ||
window.location.reload(); | ||
} | ||
} | ||
@@ -21,5 +23,5 @@ } | ||
setInterval(checkForReload, 1000*5); | ||
setInterval(checkForReload, 1000 * 3); | ||
})(window); | ||
</script> | ||
</script> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
390495
9715