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

chore: prevent cold pkg start by warming binary immediately after installation #10139

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

johnpc
Copy link
Contributor

@johnpc johnpc commented Apr 5, 2022

Description of changes

The first invocation of the amplify binary takes several seconds on Mac and Windows OSs. This commit moves the first invocation into the postinstall script so that the customer's manual CLI invocation feels snappy.

Issue #, if available

n/a

Checklist

  • PR description included
  • yarn test passes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@johnpc johnpc requested a review from a team as a code owner April 5, 2022 21:44
@johnpc johnpc merged commit d7c6ba6 into master Apr 6, 2022
danielleadams pushed a commit that referenced this pull request Apr 8, 2022
…ation (#10139)

The first invocation of the amplify binary takes several seconds on Mac and Windows OSs. This commit moves the first invocation into the postinstall script so that the customer's manual CLI invocation feels snappy.

BREAKING CHANGE: to make sure lerna does the right thing
@evcodes evcodes deleted the arm64 branch February 18, 2023 03: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.

None yet

3 participants