@rws-framework/client
Version:
Realtime Web Suit is a web-component powered, MS FAST powered fullstack-oriented framework that you can use to create domain-agnostic modular asynchoronous components with intershared authorized states.
23 lines (17 loc) • 489 B
text/typescript
import { RWSClientInstance } from "../client";
import IRWSConfig from "../types/IRWSConfig";
export const _DEFAULT_HR_PORT = 1030;
export interface IHotReloadCfg {
enabled: boolean,
port: number
}
async function hotReloadSetup(this: RWSClientInstance, config: IRWSConfig = {}): Promise<RWSClientInstance>
{
return this;
}
function getBinds(this: RWSClientInstance) {
return {
hotReloadSetup: hotReloadSetup.bind(this)
};
}
export default getBinds;