Trace API
guybedford opened this issue · 3 comments
@capaj I know the trace API in SystemJS is somewhat inconsistent that results in the need to check both System.loads
and System._loader.moduleRecords
.
I'm currently looking at a new approach here, by leaving System.defined
module entries available when System.trace
is set to true, and this will be available in the coming SystemJS release.
If you're interested in taking a look at the structure, let me know if that can handle the hot-reloading cases going forward. As I would like to deprecate System.loads
and System._loader.moduleRecords
in the SystemJS major release coming in the next few months.
thanks @guybedford for syncing with @capaj as we rely on hot-reloader heavily ...
regards
SystemJS-HMR now uses System.defined
I think we can close this now