Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Also recover from plugin errors during the initial build in watch mode #3219

Merged
merged 1 commit into from Nov 9, 2019

Conversation

lukastaegert
Copy link
Member

@lukastaegert lukastaegert commented Nov 9, 2019

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:
Resolves #3215
Resolves #2534

Description

This is a follow-up of the #3081. The approach is still the same, but instead of attaching the necessary watch information to parse errors, it will be attached to any error during the build phase. This includes any errors thrown by plugins, but also many other obscure errors that can be encountered during that phase. Hopefully, watch mode is now more enjoyable for everyone.

@codecov
Copy link

codecov bot commented Nov 9, 2019

Codecov Report

Merging #3219 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3219      +/-   ##
==========================================
+ Coverage   90.64%   90.64%   +<.01%     
==========================================
  Files         167      167              
  Lines        5909     5911       +2     
  Branches     1792     1793       +1     
==========================================
+ Hits         5356     5358       +2     
  Misses        336      336              
  Partials      217      217
Impacted Files Coverage Δ
src/Module.ts 97.3% <ø> (-0.01%) ⬇️
src/rollup/index.ts 93.93% <100%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 68fbefc...55faaf4. Read the comment docs.

@lukastaegert lukastaegert merged commit 1a63383 into master Nov 9, 2019
@lukastaegert lukastaegert deleted the gh-3215-watch-after-plugin-error branch November 9, 2019 20:36
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.

Plugin error during initial pass stops watch Watcher: Initial build failure doesn't result in a watch
1 participant