Skip to content

Conversation

@gasnier
Copy link
Contributor

@gasnier gasnier commented Apr 25, 2021

When using webpack devserver I often get an Unhandled promise rejection when a file is removed (generally because I switch to another git branch)
I get UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'fileName' of undefined
at provideErrorsToWebpack (after-compile.js:128:29)

(I assume it may also happen while simply using watch mode)

Without the provided fix, I need to stop and restart the devserver to solve the problem

@johnnyreilly
Copy link
Member

Thanks! Do you want to add an entry to the CHANGELOG.md and increment the package.json?

@gasnier
Copy link
Contributor Author

gasnier commented May 5, 2021

Thanks! Do you want to add an entry to the CHANGELOG.md and increment the package.json?

Done

@johnnyreilly johnnyreilly merged commit e3a30c0 into TypeStrong:main May 5, 2021
@johnnyreilly
Copy link
Member

Shipping with https://github.com/TypeStrong/ts-loader/releases/tag/v9.1.2

@gasnier gasnier deleted the bugfix/provideErrorsToWebpack branch May 5, 2021 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants