Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/deploy-docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
path: docs/node_modules/.vite/task-cache
key: vite-task-docs-${{ runner.os }}-${{ runner.arch }}-pr-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}
# Prefer this PR's newest cache, then fall back to main for new PRs.
# Cache fallback probe: a workflow-only PR should be able to replay main.
restore-keys: |
vite-task-docs-${{ runner.os }}-${{ runner.arch }}-pr-${{ github.event.pull_request.number }}-
vite-task-docs-${{ runner.os }}-${{ runner.arch }}-main-
Expand Down
2 changes: 2 additions & 0 deletions docs/guide/cache.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Task Caching

<!-- cache miss probe: markdown input changed -->

Vite Task can automatically track dependencies and cache tasks run through `vp run`.

## Overview
Expand Down