chore: remove half ass broken hmr

This commit is contained in:
cha0s 2019-04-12 11:00:08 -05:00
parent 5e4fe990b7
commit 757d982f71

View File

@ -249,14 +249,3 @@ function render() {
dirty = false;
}
const renderHandle = setAnimation(render);
// Hot reloading.
if (module.hot) {
module.hot.accept((error) => {
console.error(error);
});
module.hot.dispose(() => {
clearAnimation(renderHandle);
room.destroy();
stage.destroy();
});
}