chore: remove half ass broken hmr
This commit is contained in:
parent
5e4fe990b7
commit
757d982f71
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user