-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Is there a way to use v8-compile-cache as a library?
My use-case is to programmatically install the compile cache, then uninstall it, and for other code in node to be able to require('v8-compile-cache')
and for it to install correctly.
Right now, if I temporarily override the env var to prevent installation, I can get access to __TEST__
but it will also prevent subsequent code from calling require('v8-compile-cache')
because it is in require() cache already. I'm also not sure __TEST__
can be relied on as a stable API surface.
Metadata
Metadata
Assignees
Labels
No labels