Skip to content

Reload script file after editing? #523

Answered by MickDuprez
MickDuprez asked this question in Q&A
Discussion options

You must be logged in to vote

It's always the way, you find the solution after asking the question...

This seems to be working for now, cheers.

            DocumentLoader.Default.DiscardCachedDocuments();
            GC.Collect();
            GC.WaitForPendingFinalizers();

solution found here: #187

Thanks

p.s.
There is also the DocumentLoader.CacheDocument Method that I need to look into for individual script file replacement, hth.

Replies: 3 comments 1 reply

Comment options

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

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

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants