Skip to content

How to hotreload object-likes properties #6

@Globik

Description

@Globik

Excuse me, but does not work if adding an object at firt time
var lib = hotload("./lib.js").key;
And then in the code further:
console.log(lib); ???
I d like to test destructuring variable, but unluck .
var {key}= hotload("./lib.js");.....
console.log(key)

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