Skip to content

Commit

Permalink
Unbreak HMR listener
Browse files Browse the repository at this point in the history
Reviewed By: sam-swarr

Differential Revision: D3042801

fb-gh-sync-id: 2f06f2efbdf3d04ce4db0cf847ebe76d05fb109f
shipit-source-id: 2f06f2efbdf3d04ce4db0cf847ebe76d05fb109f
  • Loading branch information
martinbigio authored and Facebook Github Bot 3 committed Mar 13, 2016
1 parent cdb2d2e commit 972395a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local-cli/server/util/attachHMRServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ function attachHMRServer({httpServer, path, packagerServer}) {
() => {
// do nothing, file was removed
},
).finally(() => {
).then(() => {
client.ws.send(JSON.stringify({type: 'update-done'}));
});
});
Expand Down

0 comments on commit 972395a

Please sign in to comment.