I’m wondering if anyone has a good workflow for addon development in blender 2.91. As far as I can tell, blender (on OSX) doesn’t support F8 to reload addons. Addons that are reloaded manually also do not recompile unless init.py changes on disk, which makes multi-file addons very tedious to edit/reload.
- change code in ExampleClass.py
- “save” init.py (no edits are necessary, but it must write to disk)
- toggle ExampleAddon in addon manager OR execute “bpy.ops.preferences.addon_enable(module=‘example_addon’)” in the console
Edit: found out that F8 is now F3 > Reload Scripts but would love to know how to assign this to a hotkey. Atleast it doesn’t suffer from having to save init.py to disk constantly
If any further improvements are possible to an iterative dev workflow of an addon, please share!
Edit: I’m very grateful for all the useful feedback shared on this thread.
I just posted this WIP addon, to help speed up addon development by quickening reloading.