Live reload of Ayon Modules

Hello,
Firstly, Dev mode is designed to work exclusively with the client code/directory.
To update server code and frontend elements, you’ll still need to create and upload the addon package.

Usage Based on Module Type:

From my experience using AYON, it depends on the module itself.

  • Core Addon: For modules within the core addon, it’s likely necessary to restart the launcher for the new module to be recognized.
  • DCC Addon (e.g., Maya or Houdini): Modules in a DCC addon typically require restarting the application to ensure it detects the new module.
  • Pyblish Plugin: If the module is a Pyblish plugin, whether it’s part of the core or a DCC addon, you might only need to refresh the publisher Tool by clicking :arrows_counterclockwise: button. This is because Pyblish reads these plugins as text files and compile on refreshing.

TIP:
When discussing the development of Pyblish plugins in AYON. We may touch on this topic Pyblish Plugins Debugging

2 Likes