diff --git a/packages/client/src/api/api.js b/packages/client/src/api/api.js index 8488b702b6..ee33b1dbe0 100644 --- a/packages/client/src/api/api.js +++ b/packages/client/src/api/api.js @@ -77,4 +77,8 @@ export const API = createAPIClient({ // Log all errors to console console.warn(`[Client] HTTP ${status} on ${method}:${url}\n\t${message}`) }, + onMigrationDetected: appId => { + // We will force a reload, that will display the updating screen until the migration is running + window.location.reload() + }, })