javascript/features/playground/playground_commands.js
// it to be live reloadable.
it to be live reloadable.
it to be live reloadable .
async onPlaygroundReloadCommand(player, feature) {
        if (!server.featureManager.isEligibleForLiveReload(feature)) {
            player.sendMessage(Message.LVP_RELOAD_NOT_ELIGIBLE, feature);
            return;
        }
        await server.featureManager.liveReload(feature);
        this.announce_().announceToAdministrators(
            Message.LVP_ANNOUNCE_FEATURE_RELOADED, player.name, player.id, feature);
        player.sendMessage(Message.LVP_RELOAD_RELOADED, feature);
    }
async onPlaygroundReloadCommand ( player , feature ) { if ( ! server . featureManager . isEligibleForLiveReload ( feature ) ) { player . sendMessage ( Message . LVP_RELOAD_NOT_ELIGIBLE , feature ) ; return ; } await server . featureManager . liveReload ( feature ) ; this . announce_ ( ) . announceToAdministrators ( Message . LVP_ANNOUNCE_FEATURE_RELOADED , player . name , player . id , feature ) ; player . sendMessage ( Message . LVP_RELOAD_RELOADED , feature ) ; }
it to be live reloadable.
it to be live reloadable .