swUpdate debug
This commit is contained in:
@@ -15,6 +15,7 @@ export class AppComponent {
|
|||||||
private readonly _swUpdate: SwUpdate,
|
private readonly _swUpdate: SwUpdate,
|
||||||
private _notifications: NotificationsService
|
private _notifications: NotificationsService
|
||||||
) {
|
) {
|
||||||
|
console.log('Start versionUpdates subscribe');
|
||||||
this._swUpdate.versionUpdates.subscribe((evt) => {
|
this._swUpdate.versionUpdates.subscribe((evt) => {
|
||||||
console.log('Version update', evt);
|
console.log('Version update', evt);
|
||||||
if (evt.type === 'VERSION_READY') {
|
if (evt.type === 'VERSION_READY') {
|
||||||
|
|||||||
Reference in New Issue
Block a user