Skip to content

configOverride ignored when build: true #734

@whamtet

Description

@whamtet

Current behavior

configOverride ignored when build:true

Expected behavior

configOverride should either work when build:true or the documentation should more clearly explain why not. Happy to submit a PR for either case once this is clarified. You accepted a documentation PR from me the other day.

Steps to reproduce the issue

Clone the below repo. Try running npm start with build in webpack.config.js set to both true and false. When build: false the plugin correctly detects the configOverride and does incremental compilation.

Issue reproduction repository

https://github.com/whamtet/template-ts-webpack

Environment

  • fork-ts-checker-webpack-plugin: 7.2.6
  • typescript: 4.6.3
  • eslint: n/a
  • webpack: 5.72.0
  • os: OSX 11.6.3 Intel CPU

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