Skip to content

Unexpected behavior on file change reload #27

Closed Answered by cklosters
jkukatzki asked this question in Q&A
Discussion options

You must be logged in to vote

Don't use getObjects in the postResourcesLoaded call, explicitly create and link to objects on init, that's all. If you do that and follow general init() guidelines hot reloading should work as expexted. Globbing is always a bad idea and should be avoided, as explained. I am going to remove the getObjects call in a future version of NAP because of this.

Replies: 8 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@jkukatzki
Comment options

@jkukatzki
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jkukatzki
Comment options

You must be logged in to vote
1 reply
@cklosters
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants