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

engine: add more artificial delays after local_resource 馃槩. Fixes https://github.com/tilt-dev/tilt/issues/3900 #3901

Merged
merged 1 commit into from Nov 5, 2020

Conversation

nicks
Copy link
Member

@nicks nicks commented Nov 2, 2020

Hello @landism, @maiamcc,

Please review the following commits I made in branch nicks/ch10068:

245e779 (2020-11-02 17:20:19 -0500)
engine: add more artificial delays after local_resource 馃槩. Fixes #3900

Code review reminders, by giving a LGTM you attest that:

  • Commits are adequately tested
  • Code is easy to understand and conforms to style guides
  • Incomplete code is marked with TODOs
  • Code is suitably instrumented with logging and metrics

@nicks nicks requested review from landism and maiamcc November 2, 2020 22:20
Copy link
Contributor

@maiamcc maiamcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃槩 indeed

// Empirically, this sleep ensures that any local file changes are processed
// before the next build starts.
//
// At the moment (2020-01-31), local_resources will not build in parallel with
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not always true with the introduction of allow_parallel, idk if it's worth at least mentioning that in the comment

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added a note

@nicks nicks merged commit 600ba4e into master Nov 5, 2020
@nicks nicks deleted the nicks/ch10068 branch November 5, 2020 17:26
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.

bazel triggers multiple live_updates
2 participants