quicklauncher icon indicating copy to clipboard operation
quicklauncher copied to clipboard

Reload scripts repo

Open csaez opened this issue 10 years ago • 2 comments

It might be useful to have a mechanism to refresh custom scripts available (especially during development).

csaez avatar Nov 06 '15 13:11 csaez

In http://www.chadvernon.com/blog/maya/unit-testing-in-maya-part-2/, @chadmv referenced this article: http://pyunit.sourceforge.net/notes/reloading.html. I haven't had a chance to work with it yet so I don't know the limitations, but it seems like a similar approach would be worth trying.

matthewkapfhammer avatar Aug 25 '16 16:08 matthewkapfhammer

Thanks Maththew,

I have a little tool to deal with this at a package level and there's the very cool reimport (I've used it on tricky production environments and it works great, there's no need to reinvent the wheel).

Unfortunately I haven't had the time to add any of this to quicklauncher (that is, adding something to reload the script repo), but it's totally doable and if there's anyone wanting to contribute I would gladly accept pull requests.

Cheers!

csaez avatar Aug 25 '16 23:08 csaez