src/LiveDevelopment/LiveDevMultiBrowser.js
function _setStatus(status, closeReason) {
        // Don't send a notification when the status didn't actually change
        if (status === exports.status) {
            return;
        }

        exports.status = status;

        var reason = status === STATUS_INACTIVE ? closeReason : null;
        exports.trigger("statusChange", status, reason);
    }
function _setStatus(status, closeReason) {
        // Don't send a notification when the status didn't actually change
        if (status === exports.status) {
            return;
        }

        exports.status = status;

        var reason = status === STATUS_INACTIVE ? closeReason : null;
        exports.trigger("statusChange", status, reason);
    }
function _setStatus ( status , closeReason ) { // Don't send a notification when the status didn't actually change if ( status === exports . status ) { return ; } exports . status = status ; var reason = status === STATUS_INACTIVE ? closeReason : null ; exports . trigger ( "statusChange" , status , reason ) ; }
Update the status. Triggers a statusChange event.
@param {number} status new status
@param {?string} closeReason Optional string key suffix to display to
user when closing the live development connection (see LIVE_DEV_* keys)
Update the status . Triggers a statusChange event .