@rbxts/hot-reloader
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

rbx-hot-reloader

Basic Usage

const container = ReplicatedStorage;

const hotReloader = new HotReloader();

hotReloader.scan(container, (context) => {}, (context) => {});

const module = ReplicatedStorage.SomeModule

hotReloader.listen(module, (context) => {}, (context) => {})

Advanced usage

// assume that this is some module

defineCleanupCallback(() => {
    // do some stuff;
})

Package Sidebar

Install

npm i @rbxts/hot-reloader

Weekly Downloads

15

Version

0.5.0

License

MIT

Unpacked Size

13.1 kB

Total Files

16

Last publish

Collaborators

  • mathfox