Skip to content

HMR doesn't stop shared ticker #2

@arvalaan

Description

@arvalaan

I've been fiddling with this for too long already but it can be reproduced pretty easily. If you have a Scene in which you execute:

   Ticker.shared.add((delta) => {
      console.log('Tick!')
    });

And your HMR kicks in, you'll continue to see the Tick! in your console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions