Whenever a C# script is changed, we need to run "Update Unit Options" from the Tools menu to update the definitions for flow machine nodes that reference custom scripts. This process is taking about 90 seconds in my project. It iterates through all types and rebuilds the whole database.
Most of the time, I have only changed one script to make it compatible to Bolt or to fix a bug. I don't need Bolt to reimport all types from my code and from other assets that my project uses.
It is possible to roughly detect script changes (via C# file dates) and to generate and update the unit options only for those types. This would be way faster than the full rebuild (probably less than 5 seconds total) and, although not perfect, would suffice in most use cases. At least for workflows like mine, where I am the only developer and am integrating Bolt for specific tasks into an existing C# centered project.
I have implemented this feature in my project as a new Tools menu item "Update Unit Options partially" using types from the Bolt DLLs. A description of the code can be found in this thread:
Customer support service by UserEcho