bionic icon indicating copy to clipboard operation
bionic copied to clipboard

Reloading of flow spanning multiple files

Open simonafk opened this issue 5 years ago • 1 comments
trafficstars

If a flow span multiple files (e.g. a flow merges another flow from a different module), reloading may not work correctly.

Possible issues

  • Reload ordering: If a flow X merges flow Y from another module, then the module containing flow Y needs to be reloaded before the module containing flow X.
  • Dependency changes: Flow dependencies may be changed (e.g. flow X previously merges flow Y, but now merges flow Z instead), it is possible that the modules for the newly added dependencies need to be reloaded.

We may need to implement recursive module reloading.

simonafk avatar Aug 20 '20 19:08 simonafk

IPython has a recursive module reloading implementation: https://github.com/ipython/ipython/blob/master/IPython/lib/deepreload.py

simonafk avatar Aug 20 '20 19:08 simonafk