Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add forceReload to reload all imported modules #23

Merged
merged 7 commits into from
Dec 26, 2024

Conversation

EmilianoBruni
Copy link
Contributor

If directoryImport is called more than once, all modules loaded in the previous call are imported via require.cache so if module is changed on filesystem these changes are missing.

This option force module to be loaded from scratch deleting caching version.

@KiiDii KiiDii merged commit 221618a into ANIname:master Dec 26, 2024
4 checks passed
@KiiDii
Copy link
Collaborator

KiiDii commented Dec 26, 2024

Hello, thank you for supporting this module. I'm glad that together we can make programmers' life a little easier)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants