jamielob / reloader

More control over hot code push reloading for your production apps. Designed to replace mdg:reload-on-resume and provide a more production-ready approach.
28 stars 22 forks source link

Do we have to put Reloader.reload() in isCordova #13

Open adamgins opened 7 years ago

adamgins commented 7 years ago

Hi, do we have to put Reloader.reload() calls in a if (Meteor.isCordova) ?

I get the error Reloader.reload is not a function(…) when trying to run on the browser instead of location.reload() or location.replace(location.href

lorensr commented 7 years ago

Yes. IMO would be better if it worked in browser

wkeithchau commented 5 years ago

Is the reason for why this does not work in a browser is because this package depends on cordova splashscreen package?