HotReloader

HotReloader

Reload scripts/data of an exported game and applies the changes to the running runtime game.

Constructor

new HotReloader(runtimeGame)

Parameters:
Name Type Description
runtimeGame

The gdjs.RuntimeGame to be hot-reloaded.

Source:

Methods

(static) deepEqual(a, b)

Deep check equality between the two objects/arrays/primitives.

Inspired from https://github.com/epoberezkin/fast-deep-equal

Parameters:
Name Type Description
a

The first object/array/primitive to compare

b

The second object/array/primitive to compare

Source: