I am using Ember with Ember Data and the LocalStorage Adapter and I'm looking for a way to force ember to reload the data from the localstorage and update the UI accordingly.
However, I have no idea how to manually force a reload from outside of Ember. Basically I am looking for something like this:
function reloadAssets() {
App.ApplicationAdapter.init(); // Cannot be called
}
My initial idea was to just call the init() method of the LS Application Adapter, but this is not possible.