App not refreshing in IMatch - refreshes correctly in Browser

Started by Jingo, June 15, 2019, 11:15:43 PM

Previous topic - Next topic

Jingo

Hi Mario - was just working on a new search app example and noticed that when I updated the code, the app was not updated inside IM (a force F5 refresh and clicking the refresh button didn't help either).  I added console.logs and they aren't hit inside IM but they are hit in the browser.  Shutting IM and restarting helped.. but then it stopped refreshing further updates again.  I set debug logging, but it doesn't show any errors or info when a refresh is done.

Any thoughts? 8)

Jingo

I figured it out... The AppRefresh parameter was set to false in the app.json for my app.... once removed - all is well again.   8)

Mario

This parameter should be set for very specific purposes - to prevent a refresh of the app ;-)
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Jingo

Quote from: Mario on June 16, 2019, 08:22:41 AM
This parameter should be set for very specific purposes - to prevent a refresh of the app ;-)

I copied the "File Finder" app as a start for this app back in the day... and didn't realize this parameter was set in that JSON program. 

Mario

Can happen. Just be careful when you copy stuff from existing apps.

All app.json parameters are explained here: https://www.photools.com/dev-center/doc/imatch/tutorial-app-json.html
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook