aws-amplify / aws-amplify/amplify-hosting

How to invalidate build cache?

Open
#520 7 comments 7 reactions 0 assignees View on GitHub
feature-request hosting
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

** Please describe which feature you have a question about? **

Amplify build process

** Provide additional details**

I'm currently seeing failing builds on my Amplify project (React). I believe this is because we rewrote our react app from JS to TS. It complains about unsupported syntax because we upgraded some packages in our project. I believe I've seen this problem when we used CodeBuild and we solved it by using the [`invalidate-project-cache`](https://docs.aws.amazon.com/cli/latest/reference/codebuild/invalidate-project-cache.html) command.

Is there a similar command from Amplify?

Contributor guide

Open the contributing guide

Research direction

Start with the Amplify build process and the linked CodeBuild invalidate-project-cache reference. Determine whether Amplify exposes an equivalent cache-invalidation command or supported procedure; done means clearly documenting the available way to clear the build cache.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, react, typescript
Domain
build-system, ci-cd, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.