I am creating a Chrome app and I have made a Logout button in the app.
How can I restart/reset the app? (background.js / background page should be restarted)
chrome.runtime
API is your friend.
chrome.runtime.reload()
Reloads the app or extension.
Note that this will probably close all windows opened by the app.