I recently watched a video by my colleague Michael Zlatkovsky in which he demonstrates the changes to the OfficeJS Libraries. And in this video he proposed a nifty little trick I have been using ever since to refresh the task pane app without having to stop and reload the solution (which saves minutes each time you need to stop debugging). What you do is place a refresh button at the bottom of your task pane HTML, like this:
[code language=”html”]
<id="refresh-button">Refresh</button>
[/code]
Then you wire it up like this:
[code language=”javascript”]
$(‘#refresh-button’).click(function () {
location.reload();
});
[/code]
Simple eh?! Thanks Michael for the nifty tip!