Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to hotreload object-likes properties #6

Open
Globik opened this issue Dec 24, 2015 · 0 comments
Open

How to hotreload object-likes properties #6

Globik opened this issue Dec 24, 2015 · 0 comments

Comments

@Globik
Copy link

Globik commented Dec 24, 2015

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant