Skip to content

Commit

Permalink
fix(client): skip changed check on missing info
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Mar 23, 2016
1 parent f62367a commit 62397e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/lib/app/index.js
Expand Up @@ -1206,6 +1206,10 @@ App.prototype.recheckTabContent = function(tab) {

rdebug('checking');

if (typeof tab.file.lastModified === 'undefined') {
return rdebug('skipping (missing tab.file.lastChanged)');
}

var setNewFile = (file) => {
tab.setFile(assign({}, tab.file, file));
this.events.emit('workspace:changed');
Expand Down

0 comments on commit 62397e9

Please sign in to comment.