fix(core): update
This commit is contained in:
		| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@apiglobal/typedserver', | ||||
|   version: '2.0.49', | ||||
|   version: '2.0.50', | ||||
|   description: 'easy serving of static files' | ||||
| } | ||||
|   | ||||
| @@ -192,7 +192,7 @@ export class TypedServer { | ||||
|    */ | ||||
|   public async reload() { | ||||
|     this.lastReload = Date.now(); | ||||
|     for (const connectionArg of await this.typedsocket.findAllTargetConnections(async () => true)) { | ||||
|     for (const connectionArg of await this.typedsocket.findAllTargetConnectionsByTag('typedserver_frontend') { | ||||
|       const pushTime = | ||||
|         this.typedsocket.createTypedRequest<interfaces.IReq_PushLatestServerChangeTime>( | ||||
|           'pushLatestServerChangeTime', | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@apiglobal/typedserver', | ||||
|   version: '2.0.49', | ||||
|   version: '2.0.50', | ||||
|   description: 'easy serving of static files' | ||||
| } | ||||
|   | ||||
| @@ -98,6 +98,7 @@ export class ReloadChecker { | ||||
|         this.typedrouter, | ||||
|         plugins.typedsocket.TypedSocket.useWindowLocationOriginUrl() | ||||
|       ); | ||||
|       this.typedsocket.addTag('typedserver_frontend', {}); | ||||
|       this.typedsocket.eventSubject.subscribe(async eventArg => { | ||||
|         console.log(`typedsocket event subscription: ${eventArg}`); | ||||
|         if (eventArg === 'disconnected' || eventArg === 'disconnecting' || eventArg === 'timedOut') { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user