awesome-typescript-loader icon indicating copy to clipboard operation
awesome-typescript-loader copied to clipboard

Only watch files in dependency graph of entry file, not TS project

Open OliverJAsh opened this issue 7 years ago • 1 comments

It seems that currently the loader will watch all files in the dependency graph of the tsconfig.json, but I would expect it to only watch files in the dependency graph of the webpack entry file.

To provide further context: we have one TS project and separate webpack configs for our server and client code. Currently, whenever we change a server file, both client and server compilation will be triggered. Ideally, only the server compilation would be triggered.

OliverJAsh avatar Jan 26 '18 12:01 OliverJAsh

the same issue

vegawong avatar Feb 22 '18 03:02 vegawong