Investigate force-reloading with dynamic import · Issue #861 · node-config/node-config · GitHub
Skip to content

Investigate force-reloading with dynamic import #861

Description

@jdmarshall

https://www.tutorialpedia.org/blog/how-to-auto-reload-files-in-node-js-while-using-esm

The gist of this is that you add a suffix to the URL to do cache busting. For test code I'm okay with that.

I think the circular import logjam may have to be broken in a non-backward-compatible manner. Unless I can find a clever way to feed a context into an import statement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions