void treeNeedReload()

You can call this to explicitly request the tree to reload after the script finishes execution.