Unbreak HMR listener

Reviewed By: sam-swarr

Differential Revision: D3042801

fb-gh-sync-id: 2f06f2efbdf3d04ce4db0cf847ebe76d05fb109f
shipit-source-id: 2f06f2efbdf3d04ce4db0cf847ebe76d05fb109f
This commit is contained in:
Martín Bigio 2016-03-12 17:32:10 -08:00 committed by Facebook Github Bot 3
parent cdb2d2ee79
commit 972395a7c9
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ function attachHMRServer({httpServer, path, packagerServer}) {
() => {
// do nothing, file was removed
},
).finally(() => {
).then(() => {
client.ws.send(JSON.stringify({type: 'update-done'}));
});
});