Is there a way to reload functionGlobalContext items without restarting NR?

See subject. Thanks in advance.

See subject. need more of an explanation

I am actively working on modules that are loaded into the global context. It's cumbersome to restart NR on my device because of how I have it set up (and I can't change it), so I'm wondering if there's a way to force a reload of settings.js, or just functionGlobalContext items.

Are these modules within NR or they outside NR trying to change the data that a running NR uses??

Why not write them to a file and have a watch node in NR that when it sees the file has changed, reads it and store it in the proper place in NR's globals?

To answer the question directly: no.

1 Like