Skip to content

[bug] manifest is loaded from cache but should be freshly required each time #6

Open
@spence-s

Description

@spence-s

if I have a process that rebuilds the manifest during development ( ie... webpack watch )
the manifest file will be loaded from the require cache and therefore not have the latest updates.

can be fixed like below:

delete require.cache[require.resolve(opts.manifest)];
manifest = require(opts.manifest);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions