How to use the v8-compile-cache.__TEST__.getCacheDir function in v8-compile-cache

To help you get started, we’ve selected a few v8-compile-cache examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github teambit / bit / src / cli / commands / public-cmds / clear-cache-cmd.ts View on Github external
action(): Promise {
    const cacheDir = v8CompileCache.getCacheDir();
    fs.removeSync(cacheDir);
    return Promise.resolve();
  }

v8-compile-cache

Require hook for automatic V8 compile cache persistence

MIT
Latest version published 1 year ago

Package Health Score

71 / 100
Full package analysis

Popular v8-compile-cache functions

Similar packages