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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: walk invalidated dependencies #573

Merged
merged 1 commit into from Mar 28, 2019

Conversation

Projects
None yet
2 participants
@tivac
Copy link
Owner

commented Mar 28, 2019

Description

When invalidation was added in #532 I apparently forgot to account for it withiin the dependency walking code, so invalidated files wouldn't ever be rewalked.

Motivation and Context

This has likely been causing a variety of nasty-to-debug errors in the wild 馃槥

How Has This Been Tested?

See #572, the added test in watch.test.js is how I discovered this was broken.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
fix: fix walking invalidated dependencies
When invalidation was added in #532 I apparently forgot to account for it withiin the dependency walking code, so invalidated files wouldn't ever be rewalked. This has likely been causing a variety of nasty-to-debug errors in the wild 馃槥
@tivac

This comment has been minimized.

Copy link
Owner Author

commented Mar 28, 2019

This should also help with #571 and I think in combination with #574 that problem should be solved, I'll leave it open until I've given it some time to bake though.

@tivac tivac merged commit 0284b11 into master Mar 28, 2019

3 of 7 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
Header rules No header rules processed
Details
Pages changed 1 new file uploaded
Details
Redirect rules No redirect rules processed
Details
Mixed content No mixed content detected
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
deploy/netlify Deploy preview ready!
Details

@tivac tivac deleted the walk-invalidated-deps branch Mar 28, 2019

@TravisBuddy

This comment has been minimized.

Copy link

commented Mar 28, 2019

Hey @tivac,
Something went wrong with the build.

TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.

View build log

TravisBuddy Request Identifier: 44953520-5130-11e9-977c-5d859f4a0935
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.