If the tasks dashboard or anything on it is customized, and the customization fires the 'document-updated' event, the refresh function does not redirect properly.
A good way to solve this would be to add another 'else if' to the refresh function:
https://github.com/nuxeo/nuxeo-web-ui/blob/10.10/elements/nuxeo-app.html#L612
that checks if 'this' is a task, and loads the task page (same way it would load 'browse' for regular docs)
As an example of how this would work, add a button to 'nuxeo-tasks' or 'nuxeo-document-task':
<paper-button name="updateDocument" noink="" class="primary" on-tap="_updateDocument">fire document-updated event</paper-button>
with this js function
_updateDocument: function() { this.fire('document-updated'); },
Clicking the button should refresh the tasks page, not redirect to home.