fix(core): update
This commit is contained in:
		| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@apiglobal/typedserver', | ||||
|   version: '2.0.51', | ||||
|   version: '2.0.52', | ||||
|   description: 'easy serving of static files' | ||||
| } | ||||
|   | ||||
| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@apiglobal/typedserver', | ||||
|   version: '2.0.51', | ||||
|   version: '2.0.52', | ||||
|   description: 'easy serving of static files' | ||||
| } | ||||
|   | ||||
| @@ -61,7 +61,8 @@ export class ReloadChecker { | ||||
|  | ||||
|   public async checkReload(lastServerChange: number) { | ||||
|     let reloadJustified = false; | ||||
|     (await this.store.get(this.storeKey)) !== lastServerChange ? (reloadJustified = true) : null; | ||||
|     let storedLastServerChange = await this.store.get(this.storeKey); | ||||
|     storedLastServerChange && storedLastServerChange !== lastServerChange ? (reloadJustified = true) : null; | ||||
|  | ||||
|     if (reloadJustified) { | ||||
|       this.store.set(this.storeKey, lastServerChange); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user