Skip to content

Occasionally stops working #330

@aaronjensen

Description

@aaronjensen

Current behavior

Occasionally, after waking up from sleep, fork-ts-checker-webpack-plugin stop working. It will no longer emit any status (either type checking in progress or type errors). Restarting webpack fixes this.

Expected behavior

I don't have to restart webpack.

Steps to reproduce the issue

I'm not sure how to reproduce this 100%, it just happens sometimes. My configuration is minimal:

    new ForkTsCheckerWebpackPlugin({
      tsconfig: root('tsconfig.json'),
    })

I also use this, in case its relevant:

export TSC_WATCHFILE=UseFsEvents

Issue reproduction repository

None

Environment

  • fork-ts-checker-webpack-plugin: 1.5.0
  • typescript: 3.5.3
  • tslint: none
  • webpack: 4.39.2
  • os: macOS 10.14.6

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