Skip to content

Commit

Permalink
fixes #1042: overlay doesn't clear if errors are fixed but warnings r…
Browse files Browse the repository at this point in the history
…emain (#1043)
  • Loading branch information
shellscape committed Aug 15, 2017
1 parent da188a6 commit b2cf847
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ var onSocketMsg = {
},
invalid: function() {
log.info("[WDS] App updated. Recompiling...");
// fixes #1042. overlay doesn't clear if errors are fixed but warnings remain.
if(useWarningOverlay || useErrorOverlay) overlay.clear();
sendMsg("Invalid");
},
hash: function(hash) {
Expand Down

0 comments on commit b2cf847

Please sign in to comment.