how to clear import cache of an file?

My project uses
import
to load submodules.
And I want to make submodules reloadable without stopping the project: clearing the
import
cache of all
mjs
and
ts
files in the submodule folder and reimporting the entrypoint file.
Is this possible to do in deno?
Was this page helpful?