Skip to content

Changes to the .babelrc file do not invalidate the cache #587

@thasmo

Description

@thasmo

I'm submitting a bug report.

Current Behavior
When using cacheDirectory: true the cache does not get invalidated between changes to .babelrc contents. Disabling the cache works as expected and changes to .babelrc are reflected in the generated bundle.

Expected Behavior
When using cacheDirectory: true the cache should be invalidated between changes to the .babelrc file as mentioned in the docs.

Versions

  • node: 9.5.0
  • npm: 5.6.0
  • webpack: 3.11.0
  • babel-loader: 8.0.0-beta.1
  • @babel/core": "^7.0.0-beta.40",
  • OS: Windows 10 Pro 64-bit

Configuration

{
    loader: 'babel-loader',
    options: {
        cacheDirectory: true,
    },
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions