Open
Description
Current behavior
Changes to ts or d.ts files are not detected after launching webpack dev server (regression of #557)
Expected behavior
Changes to types should be updated dynamically across package boundaries in a monorepo.
Steps to reproduce the issue
- open either of the environments mentioned below
- in
examples/ts-loader-monorepo
doyarn dev
- make changes to
examples/ts-loader-monorepo/packages/util/src/index.ts
, changingProbablyANumber
tonumber
orstring
- notice how problem is not detected until restarting dev server
Issue reproduction repository
live in browser env: https://stackblitz.com/edit/ferm10n-fork-ts-checker-webpack-plugin-dftrye?file=examples%2Fts-loader-monorepo%2Fpackages%2Fmain%2Fsrc%2Findex.ts
Or, for cloning locally: https://github.com/ferm10n/fork-ts-checker-webpack-plugin
(It's reproducible in both environments)
Environment
- fork-ts-checker-webpack-plugin: 7.3.0
- typescript: 4.9.4
- eslint: n/a ?
- webpack: 5.75.0
- os: Both Windows 10 and Ubuntu 18.04