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

Is it possible to obtain CacheSettings from Deno itself #19

Open
jollytoad opened this issue Oct 6, 2022 · 1 comment
Open

Is it possible to obtain CacheSettings from Deno itself #19

jollytoad opened this issue Oct 6, 2022 · 1 comment

Comments

@jollytoad
Copy link
Contributor

jollytoad commented Oct 6, 2022

It would be very useful to allow CacheSettings to default to whatever Deno itself is doing, for example, if --reload has been passed to reload all, or with a list of modules.

Is this exposed by Deno?

@dsherret
Copy link
Member

dsherret commented Aug 8, 2023

No, it's not exposed. It's probably best to add a --reload flag to the tool using this. For example, the user might not want to reload the tool's code, but they do want to reload the dependencies being cached with the tool.

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

No branches or pull requests

2 participants