Skip to content

worker_thread #4

@linonetwo

Description

@linonetwo

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.

Module.prototype._compile = this._ownModuleCompile = _ownModuleCompile;
self.enabled = true;
function _ownModuleCompile(content, filename) {

So set is never called

set(key, invalidationKey, buffer) {
this._invalidationKeys[key] = invalidationKey;
this._memoryBlobs[key] = buffer;
this._dirty = true;
}

And it is never dirty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions