cspotcode / cspotcode/v8-compile-cache-lib

worker_thread

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Don't seem to generate the cache blob file, when using this in a worker thread.

From my debug, seems `Module.prototype._compile` is never called in a worker thread.

https://github.com/cspotcode/v8-compile-cache-lib/blob/35dfbc6db9fb006f8a39dd16430d11f254cc2b1d/v8-compile-cache.js#L155-L157

So set is never called

https://github.com/cspotcode/v8-compile-cache-lib/blob/35dfbc6db9fb006f8a39dd16430d11f254cc2b1d/v8-compile-cache.js#L48-L52

And it is never dirty

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.