Skip to content

Commit

Permalink
Merge pull request #8244 from zhengbli/i4420
Browse files Browse the repository at this point in the history
Provide server response when reload is done
  • Loading branch information
zhengbli committed Apr 21, 2016
2 parents b05a230 + 615dfa8 commit 497e810
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ namespace ts.server {
[CommandNames.Reload]: (request: protocol.Request) => {
const reloadArgs = <protocol.ReloadRequestArgs>request.arguments;
this.reload(reloadArgs.file, reloadArgs.tmpfile, request.seq);
return { responseRequired: false };
return {response: { reloadFinished: true }, responseRequired: true};
},
[CommandNames.Saveto]: (request: protocol.Request) => {
const savetoArgs = <protocol.SavetoRequestArgs>request.arguments;
Expand Down

0 comments on commit 497e810

Please sign in to comment.