code: function _setupGoLiveMenu() {
          LiveDevImpl.on("statusChange", function statusChange(event, status) {
              // Update the checkmark next to 'Live Preview' menu item
              // Add checkmark when status is STATUS_ACTIVE; otherwise remove it
              CommandManager.get(Commands.FILE_LIVE_FILE_PREVIEW).setChecked(status === LiveDevImpl.STATUS_ACTIVE);
              CommandManager.get(Commands.FILE_LIVE_HIGHLIGHT).setEnabled(status === LiveDevImpl.STATUS_ACTIVE);
          });
      }
docs: Maintains state of the Live Preview menu item