One thing you need to do is attach a reload action to the
Then, whenever you make an update to your JSON, simply background and foreground the app just like in the gif.
One thing to remember is, you will need to kill the app and restart the first time you add the
$foreground event handler because your current code doesn't have that and won't automatically reload to reflect the new code (which includes the
$foreground code) . After that everything should work fine. Let me know if that works.