docs: function reloadPage(page, isModal) {
  
      if (!LiveEditSingleton.enabled()) {
          return;
      }
  
      var t = frameCommon.topmost();
      if (!t) {
          return;
      }
  
      if (!page) {
          if (!t.currentEntry || !t.currentEntry.entry) {
              return;
          }
          page = t.currentEntry.entry.moduleName;
          if (!page) {
              return;
          }
      }
  
      if (LiveEditSingleton.isSuspended()) {
          LiveEditSingleton._suspendedNavigate(page, isModal);
          return;
      }
  
      if (isModal) {
          reloadModal(page);
          return;
      }
  
      var ext = "";
      if (!page.endsWith(".js") && !page.endsWith(".xml")) {
          ext = ".js";
      }
  
      var nextPage;
      if (t._currentEntry && t._currentEntry.entry) {
          nextPage = t._currentEntry.entry;
          nextPage.animated = false;
      } else {
          nextPage = {moduleName: page, animated: false};
      }
      if (!nextPage.context) {
          nextPage.context = {};
      }
  
      if (t._currentEntry && t._currentEntry.create) {
          nextPage.create = t._currentEntry.create;
      }
      nextPage.context.liveSync = true;
      nextPage.context.liveEdit = true;
  
      // Disable it in the backstack
      //nextPage.backstackVisible = false;
  
      // Attempt to Go back, so that this is the one left in the queue
      if (t.canGoBack()) {
          //t._popFromFrameStack();
          t.goBack();
      } else {
          nextPage.clearHistory = true;
      }
  
  
  
      // This should be before we navigate so that it is removed from the cache just before
      // In case the goBack goes to the same page; we want it to return to the prior version in the cache; then
      // we clear it so that we go to a new version.
  
      __clearRequireCachedItem(LiveEditSingleton.currentAppPath() + page + ext);
      __clearRequireCachedItem(LiveEditSingleton.currentAppPath() + "*" + LiveEditSingleton.currentAppPath() + page);
  
      if (fileResolver.clearCache) {
          fileResolver.clearCache();
      }
  
      // Navigate back to this page
      try {
          t.navigate(nextPage);
      }
      catch (err) {
          console.log(err);
      }
  }