clearCache via Javascript API #2154
kevinpelago
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
... and right after I posted this, I realized I could import with:
So, sort of a moot subject. Not sure if it'd be useful to re-export at the top level, but I'm able to solve my issue with the above snippet. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm consuming Snowpack via Javascript API (
import { startDevServer, createConfiguration } from 'snowpack'
) and I'm trying to programmatically clear the cache.The CLI appears to support this use case via
snowpack dev --reload
, but I don't seeclearCache
offered by export. Is there another way to support this?(This request is specifically to allow me to work around this issue before the PR lands.)
Beta Was this translation helpful? Give feedback.
All reactions