Skip to content

Conversation

@TooTallNate
Copy link
Member

Disable cache for all tasks except "build"

Disable cache for all tasks except "build"
@vercel
Copy link
Contributor

vercel bot commented Nov 13, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
example-nextjs-workflow-turbopack Ready Ready Preview Comment Nov 13, 2025 7:39am
example-nextjs-workflow-webpack Ready Ready Preview Comment Nov 13, 2025 7:39am
example-workflow Ready Ready Preview Comment Nov 13, 2025 7:39am
workbench-hono-workflow Ready Ready Preview Comment Nov 13, 2025 7:39am
workbench-nitro-workflow Ready Ready Preview Comment Nov 13, 2025 7:39am
workbench-nuxt-workflow Ready Ready Preview Comment Nov 13, 2025 7:39am
workbench-sveltekit-workflow Ready Ready Preview Comment Nov 13, 2025 7:39am
workbench-vite-workflow Ready Ready Preview Comment Nov 13, 2025 7:39am
workflow-docs Ready Ready Preview Comment Nov 13, 2025 7:39am

@changeset-bot
Copy link

changeset-bot bot commented Nov 13, 2025

⚠️ No Changeset found

Latest commit: 123391b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Member Author

"test": {
"dependsOn": ["^build"]
"dependsOn": ["^build"],
"cache": false
Copy link
Member

Choose a reason for hiding this comment

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

This makes sense to me for test but not for dev since presumably we do want caching for dev, which is just a different kind of "build" step that also runs the code, right?

Copy link
Member

Choose a reason for hiding this comment

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

i assume that on dev we can't take full advantage of the cache because of constant updates, not fully sure though

Copy link
Member Author

Choose a reason for hiding this comment

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

The build task would still be cacheable. But also frankly I don't think we even need a dev task. Does anybody use turbo run dev in this repo?

Copy link
Member

Choose a reason for hiding this comment

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

I use t dev for some things, but can just as easily use t build && p dev for the same

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.

4 participants