Skip to content

Webpack watch missing changed files #697

Closed
@KnisterPeter

Description

@KnisterPeter

Expected Behaviour

Detect all changed files used in a compilation

Actual Behaviour

Some files are missing in some cases

Steps to Reproduce the Problem

https://github.com/KnisterPeter/webpack-multi-app-test

Run npm run watch and change src/core/plugin.ts.
It is expected that src/sub/index.tsx fails afterswards.

Location of a Minimal Repository that Demonstrates the Issue.

https://github.com/KnisterPeter/webpack-multi-app-test

The problem is within the watch-run. Changed files are filtered here. Maybe its deeper and webpack does not set correct timestamps.

https://github.com/TypeStrong/ts-loader/blob/master/src/watch-run.ts#L25

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