Tutorial: Application.restart

Application.restart

Restarts the application.

Example

async function restartApp() {
    const app = await fin.Application.getCurrent();
    return await app.restart();
}
restartApp().then(() => console.log('Application restarted')).catch(err => console.log(err));