Question: Hot-reloading a dynamic module
serle opened this issue · comments
Is there a way to hot reload a dynamic module? My current understanding is that if I were to run the import(x)
a second time it would not reload the module. Would it make sense to add an additional flag on the call with value such as never(default), if updated, always/force.
Since static import
behaves identically, I'd say it's not the job of the dynamic import proposal to solve "hot reloading" - if that use case gets solved for import
, it'd get solved for import()
the same way.
Yes, this seems unrelated to this proposal.
I understand, but it would be a great feature for another proposal